icculus / mojodds

Simple DirectDraw Surface (.DDS) decoder routines.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MojoDDS

This is a dirt-simple .dds file decoder, in case you need to, for example, load these files into an OpenGL texture on Linux.

This was just enough to do what I needed to do for a game I ported to Linux. The file format was extended in later versions of DirectX, but those additions are not currently supported.

If this is useful, feel free to plug it into your game.

There is a Makefile and CMakeLists.txt, but for use in your own project, please just add mojodds.c and mojodds.h to your app's existing project instead. It's easier.

About

Simple DirectDraw Surface (.DDS) decoder routines.

License:zlib License


Languages

Language:C 97.8%Language:Makefile 1.6%Language:CMake 0.6%