mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 10:22:48 +01:00
- [Psy-x] add custom defines for Raspberry PI
This commit is contained in:
parent
eeda7537aa
commit
c2ebeec44d
@ -4,9 +4,12 @@
|
||||
/*
|
||||
* Platform specific emulator setup
|
||||
*/
|
||||
#if (defined(_WIN32) || defined(__APPLE__) || defined(__linux__)) && !defined(__ANDROID__) && !defined(__EMSCRIPTEN__)
|
||||
#if (defined(_WIN32) || defined(__APPLE__) || defined(__linux__)) && !defined(__ANDROID__) && !defined(__EMSCRIPTEN__) && !defined(__RPI__)
|
||||
# define RENDERER_OGL
|
||||
# define USE_GLAD
|
||||
#elif defined(__RPI__)
|
||||
# define RENDERER_OGLES
|
||||
# define OGLES_VERSION (3)
|
||||
#elif defined(__EMSCRIPTEN__)
|
||||
# define RENDERER_OGLES
|
||||
# define OGLES_VERSION (3)
|
||||
|
@ -15,7 +15,7 @@
|
||||
# include <emscripten/emscripten.h>
|
||||
# include <emscripten/html5.h>
|
||||
# include <SDL2/SDL.h>
|
||||
#elif defined(_WINDOWS) || defined(__MINGW32__) || defined(__linux__) || defined(__ANDROID__)
|
||||
#elif defined(_WINDOWS) || defined(__MINGW32__) || defined(__linux__) || defined(__ANDROID__) || defined(__RPI__)
|
||||
# include <SDL.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user