mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-27 16:45:38 +00:00
45ffbf978c
Changed some existing command line arguments too: -w and -h are now just --resolution [width] [height]. -h is now synonymous with --help.
22 lines
426 B
C++
22 lines
426 B
C++
//the Makefile defines one of these:
|
|
//#define USE_OPENGL_ES
|
|
//#define USE_OPENGL_DESKTOP
|
|
|
|
#ifdef USE_OPENGL_ES
|
|
#define GLHEADER <GLES/gl.h>
|
|
#endif
|
|
|
|
#ifdef USE_OPENGL_DESKTOP
|
|
//why the hell this naming inconsistency exists is well beyond me
|
|
#ifdef WIN32
|
|
#define sleep Sleep
|
|
#endif
|
|
|
|
#define GLHEADER <SDL_opengl.h>
|
|
#endif
|
|
|
|
#include <string>
|
|
|
|
std::string getHomePath();
|
|
void setHomePathOverride(const std::string& path);
|