1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-25 14:56:03 +00:00

reads images using libpng now (SDL_image available as optional compilation flag)

This commit is contained in:
Zeno Rogue
2017-12-21 12:00:34 +01:00
parent 57a5337b9f
commit 91adb393b3
2 changed files with 68 additions and 14 deletions

View File

@@ -121,7 +121,7 @@
#endif
#ifndef CAP_TEXTURE
#define CAP_TEXTURE 0 // CAP_PNG
#define CAP_TEXTURE CAP_GL && CAP_PNG || CAP_SDL_IMG
#endif
#ifndef CAP_MODEL
@@ -184,7 +184,6 @@
#define CAP_SDL_IMG 0
#endif
#ifndef CAP_SDLTTF
#define CAP_SDLTTF (CAP_SDL && !ISMOBILE && !ISWEB)
#endif