removed opengles.

This commit is contained in:
Ozkan Sezer
2022-11-22 21:48:40 +03:00
parent e581c5d000
commit 30b1ab2add
35 changed files with 17 additions and 1867 deletions

View File

@@ -642,15 +642,6 @@ endmacro()
# - nada
macro(CheckOpenGLES)
if(SDL_OPENGLES)
check_c_source_compiles("
#include <GLES/gl.h>
#include <GLES/glext.h>
int main (int argc, char** argv) { return 0; }" HAVE_OPENGLES_V1)
if(HAVE_OPENGLES_V1)
set(HAVE_OPENGLES TRUE)
set(SDL_VIDEO_OPENGL_ES 1)
set(SDL_VIDEO_RENDER_OGL_ES 1)
endif()
check_c_source_compiles("
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>