[Bug 11167] Wrong usage of GL_GENERATE_MIPMAP_HINT_SGIS

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jan 13 06:23:47 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=11167





--- Comment #10 from Jörg Höhle <hoehle at users.sourceforge.net>  2010-01-13 06:23:46 ---
This incorrect GL call causes Ankh (the first from the trilogy) to throw a lot
of the following exceptions to the console in wine-1.1.36 and earlier. Luckily,
they are not fatal.
fixme:d3d_texture:basetexture_set_autogen_filter_type
 >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from
glTexParameteri(textureDimensions, GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST) @
basetexture.c / 183
Texture: home_hanging_basket_lm.tga: Loading 1 faces(PF_A8R8G8B8,128x128x1)
with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Error loading texture plant_grass_warm_green.tga. Texture layer will be blank.
Loading the texture failed with the following exception: An exception has been
thrown!
----------------
Details:
----------------
Error #: -2005530516
Function: D3D9Texture::_createNormTex
Description: Could not set best autogen filter type.
File:
\#work\ExternalProjects\ogrenew\RenderSystems\Direct3D9\src\OgreD3D9Texture.cpp
Line: 494
Stack unwinding: <<beginning of stack>>
Mesh: Loading xyz.mesh

With my (incorrect) SetAutoGenFilterType patch from July 2009, these go away.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list