NV DDS

DDS image loader for OpenGL2/ OpenGL ES2

View the Project on GitHub

Overview

this project tracks updates/ bugfixes for the DDS loader from the nvidia SDK and ports it to OpenGL2+ and OpenGL ES2

sample usage

 CDDSImage image;
 GLuint texobj;

 image.load("compressed_or_uncompressed.dds");

 glGenTextures(1, &texobj);
 glEnable(GL_TEXTURE_2D);
 glBindTexture(GL_TEXTURE_2D, texobj);

 image.upload_texture2D();

changes