mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 17:45:38 +00:00
288eb3c1b2
The #defines "USE_OPENGL_ES" and "USE_OPENGL_DESKTOP" to control GLES vs. Desktop OpenGL usage. The #define _RPI_ is used solely on Raspberry Pi now.
20 lines
383 B
C++
20 lines
383 B
C++
//the Makefiles define these via command line
|
|
//#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(); |