GL mipmap question

Stefan Dösinger stefandoesinger at
Sun Feb 19 03:52:30 CST 2006

I'm trying to get the Mipmap example of the DX7 sdk running, and I've run into 
a problem:

OpenGL requires mipmap levels down to 1x1 (according to the red book), but 
DirectX can provide less levels, e.g. the smallest with 16x16. If I use such 
a mipmaped texture from d3d in opengl, this results in a white texture image. 
I've verified this with a GL-only program.

Is there any way to such a texture with opengl, or do I need other tricks? I 
could use gluBuild2DMipmaps() to create the smaller textures, but I dislike 
that way.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the wine-devel mailing list