mirror of https://github.com/encounter/SDL.git
Fixed building testgles2 on Linux
This commit is contained in:
parent
0c8277e9bd
commit
e5d59fa77c
|
@ -22,8 +22,10 @@
|
||||||
|
|
||||||
#if defined(__IPHONEOS__) || defined(__ANDROID__) || defined(__EMSCRIPTEN__) || defined(__NACL__) \
|
#if defined(__IPHONEOS__) || defined(__ANDROID__) || defined(__EMSCRIPTEN__) || defined(__NACL__) \
|
||||||
|| defined(__WINDOWS__) || defined(__LINUX__)
|
|| defined(__WINDOWS__) || defined(__LINUX__)
|
||||||
|
#ifndef HAVE_OPENGLES2
|
||||||
#define HAVE_OPENGLES2
|
#define HAVE_OPENGLES2
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_OPENGLES2
|
#ifdef HAVE_OPENGLES2
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue