http://bugs.winehq.org/show_bug.cgi?id=11167
Summary: Wrong usage of GL_GENERATE_MIPMAP_HINT_SGIS Product: Wine Version: 0.9.52. Platform: Other OS/Version: other Status: UNCONFIRMED Severity: trivial Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: tdb@tdb.fi
fixme:d3d_texture:IWineD3DBaseTextureImpl_SetAutoGenFilterType
>>>>>>>>>>> GL_INVALID_ENUM (0x500) from
glTexParameteri(textureDimensions, GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST) @ ../../../dlls/wined3d/basetexture.c / 193
The SGIS_generate_mipmap specification says:
Accepted by the <target> parameter of Hint, and by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
GENERATE_MIPMAP_HINT_SGIS 0x8192
So the function call should be glHint(GENERATE_MIPMAP_HINT_SGIS, GL_NICEST). Note however that this is a global state, not per-texture.