Page 1 of 1

ManualResourceLoader wrong documenation

Posted: Thu Oct 20, 2011 11:28 am
by boyamer
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;