DDS image format loader

This is code that I'm using to load DDS files into textures in my simple home-grown OpenGL renderer. Hopefully, you will find it useful. Note that the code is just copied out of my own code, and thus won't quite compile out of the box for you; you should find it easy to massage it into working in your own set-up, I hope.


Back to the Graphics page.