[fixed] SSharedMeshBuffer's setHardwareMappingHint

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Jiang
Posts: 77
Joined: Tue Feb 20, 2007 11:03 am

[fixed] SSharedMeshBuffer's setHardwareMappingHint

Post by Jiang »

Source: 1.5 release and latest SVN Rev. 2138



In SSharedMeshBuffer.h, we have virtual function setHardwareMappingHint declared as :


Code: Select all

		//! set the hardware mapping hint, for driver
		virtual void setHardwareMappingHint( E_HARDWARE_MAPPING NewMappingHint )
		{
			MappingHint=NewMappingHint;
		}
However, in its base class IMeshBuffer, we have :

Code: Select all

		//! set the hardware mapping hint, for driver
		virtual void setHardwareMappingHint( E_HARDWARE_MAPPING newMappingHint, E_BUFFER_TYPE buffer=EBT_VERTEX_AND_INDEX ) = 0;

Is this virtual function hiding intentional ?

Regards,

Jiang
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

No, not intended. I thought that I had checked for all of those at some point... Anyway, thanks, fixed.
Post Reply