Hi
I have a problem with using the lod_bias extension in conjunction with display lists.
I use following code:
if(ext->has_ext_texture_lod_bias)
glTexEnvf GL_TEXTURE_FILTER_CONTROL_EXT,GL_TEXTURE_LOD_BIAS_EXT,5.0f);
float f=11111.0f;// a unlikely number
glGetTexEnvfv(GL_TEXTURE_FILTER_CONTROL_EXT,GL_TEXTURE_LOD_BIAS_EXT,&f);
printf("%f
",f);
When I call it in immediate mode all works fine and the printed float shows 5.0f but when i nest in to a display list, the float shows 0.0f.
I searched the forum and found: http://www.opengl.org/discussion_boards/ubb/Forum3/HTML/006114.html
The hardware is a TNT2 M64 with 28.80 drivers and a GF4TI4600 with 28.32
Both show the problem.
I think,as mentioned in the other thread that this may be a drivers bug ??
Perhaps someone can tell me ?
Bye
ScottManDeath
[This message has been edited by ScottManDeath (edited 05-14-2002).]