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:
3
init.cpp
3
init.cpp
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user