Add support for EGLRenderer on EGL 1.4

This commit is contained in:
Cameron Gutman
2020-05-16 12:13:00 -07:00
parent 828932d95c
commit ed128c558f
3 changed files with 67 additions and 8 deletions

View File

@@ -1,8 +1,8 @@
#include <SDL_egl.h>
#include <SDL_opengles2.h>
#ifndef EGL_VERSION_1_5
#error EGLRenderer requires EGL 1.5
#ifndef EGL_VERSION_1_4
#error EGLRenderer requires EGL 1.4
#endif
#ifndef GL_ES_VERSION_2_0