ManualResourceLoader wrong documenation

Minor issues with the Ogre API that can be trivial to fix
User avatar
boyamer
Orc
Posts: 458
Joined: Sat Jan 24, 2009 11:16 am
Location: Italy
Contact:

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;
0 x

Return to “Papercuts”

Who is online

Users browsing this forum: No registered users and 1 guest