ManualResourceLoader wrong documenation

Minor issues with the Ogre API that can be trivial to fix

ManualResourceLoader wrong documenation

Postby boyamer » Thu Oct 20, 2011 11:28 am

Please take look at ManualResourceLoader methods, comments are quiete wrong:

Code: Select all
/** Called when a resource wishes to load.  Note that this could get
         * called in a background thread even in just a semithreaded ogre
         * (OGRE_THREAD_SUPPORT==2).  Thus, you must not access the rendersystem from
         * this callback.  Do that stuff in loadResource.
      @param resource The resource which wishes to load
      */
      virtual void prepareResource(Resource* resource)
                { (void)resource; }

      /** Called when a resource wishes to prepare.
      @param resource The resource which wishes to prepare
      */
      virtual void loadResource(Resource* resource) = 0;
User avatar
boyamer
Orc
 
Posts: 443
Kudos: 5
Joined: 24 Jan 2009
Location: Italy

Return to Papercuts

Who is online

Users browsing this forum: No registered users and 3 guests