Imagination PowerVR SDK Blog

GL_TEXTURE_MAX_ANISOTROPY_EXT, GL_TEXTURE_LOD_BIAS


#1

Another driver bug…





glTexParameterf( GL_TEXTURE_2D,


              Â GL_TEXTURE_MAX_ANISOTROPY_EXT,


              Â ? );





and








glTexEnvf( GL_TEXTURE_FILTER_CONTROL_EXT,


          GL_TEXTURE_LOD_BIAS_EXT,


          ? );





Both generate a GL_ERROR whatever value is passed as parameter…bobGL2010-07-24 06:31:37


#2

Could you please let us know the platform you are testing this on?





When using extensions you need to check the extension string. If the extension string does not contain GL_EXT_texture_filter_anisotropic or GL_EXT_texture_lod_bias then generating a GL error for those calls is the expected and correct behaviour.