https://github.com/icculus/mojodds
Simple DirectDraw Surface (.DDS) decoder routines.
https://github.com/icculus/mojodds
dds dds-loader directdraw-surface
Last synced: 11 months ago
JSON representation
Simple DirectDraw Surface (.DDS) decoder routines.
- Host: GitHub
- URL: https://github.com/icculus/mojodds
- Owner: icculus
- License: zlib
- Created: 2021-06-28T20:50:20.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-10T17:13:14.000Z (over 4 years ago)
- Last Synced: 2025-03-27T09:46:18.956Z (11 months ago)
- Topics: dds, dds-loader, directdraw-surface
- Language: C
- Homepage:
- Size: 62.5 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
README
# MojoDDS
This is a dirt-simple [.dds file](https://en.wikipedia.org/wiki/DirectDraw_Surface)
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.