[GEM-dev] debug idea

guenter geiger geiger at xdv.org
Wed Nov 19 11:14:58 CET 2003


On Wed, 19 Nov 2003, chris clepper wrote:
> void pix_texture :: doDebug(GemState *state){
>
> if ( GemMan::texture_range_supported &&
> GemMan::texture_rectangle_supported && m_mode){
> 	    post("pix_texture:  using glTextureRangeAPPLE()");
> 	}
> 	else
> 	{
> 	  post("pix_texture: using TEXTURE_2D");
> 	}
> }
>
> There would be a m_doDebug that would trigger with the 'debug'
> message and be reset in the post render to prevent endless retriggers.

Thats a good idea, make m_debug a int which indicates the level as
Johannes suggested.

Guenter





More information about the GEM-dev mailing list