[Bug 11167] New: Wrong usage of GL_GENERATE_MIPMAP_HINT_SGIS

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jan 13 05:05:52 CST 2008


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 at winehq.org
        ReportedBy: tdb at 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.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list