Fixed building testgles2 on Linux

This commit is contained in:
Sam Lantinga 2021-09-22 09:31:26 -07:00
parent 0c8277e9bd
commit e5d59fa77c
1 changed files with 2 additions and 0 deletions

View File

@ -22,8 +22,10 @@
#if defined(__IPHONEOS__) || defined(__ANDROID__) || defined(__EMSCRIPTEN__) || defined(__NACL__) \
|| defined(__WINDOWS__) || defined(__LINUX__)
#ifndef HAVE_OPENGLES2
#define HAVE_OPENGLES2
#endif
#endif
#ifdef HAVE_OPENGLES2