Bonzomatic
Bonzomatic copied to clipboard
DDS Mipmap Levels
Hey Gargaj,
using DX9 version. Reading the code it looks like mipmap levels within DDS textures are read just as D3DXCreateTextureFromFileEx would load them with MipLevels == 0. But somehow using tex2Dlod and changing the second argument's ".w" manually doesn't make a difference.
Intended behaviour?
Cheers, St0fF
P.S.: yes, don't use DDS. It was just for testing...
I'm not against mipmaps, but I wasn't sure how to enable them in the SDL version so I made it consistently mipmapless across the board.
Oh, I see. My guess would be: SDL/OpenGL: load or create them manually. (At least at work when dealing with EGL we always have to provide them manually).
When I have the time, I'll have a look at the SDL code.