configure
changeset 11930 c808a74c019e
parent 11919 8ebcdaa049e5
child 11951 28be2719184c
     1.1 --- a/configure	Sat Mar 10 21:22:42 2018 -0800
     1.2 +++ b/configure	Mon Mar 12 18:41:06 2018 -0700
     1.3 @@ -22018,6 +22018,24 @@
     1.4      fi
     1.5  }
     1.6  
     1.7 +CheckMacGLES()
     1.8 +{
     1.9 +    if test x$enable_video = xyes -a x$enable_video_opengles = xyes; then
    1.10 +        video_opengl_egl=yes
    1.11 +
    1.12 +$as_echo "#define SDL_VIDEO_OPENGL_EGL 1" >>confdefs.h
    1.13 +
    1.14 +        video_opengles_v2=yes
    1.15 +
    1.16 +$as_echo "#define SDL_VIDEO_OPENGL_ES2 1" >>confdefs.h
    1.17 +
    1.18 +
    1.19 +$as_echo "#define SDL_VIDEO_RENDER_OGL_ES2 1" >>confdefs.h
    1.20 +
    1.21 +        SUMMARY_video="${SUMMARY_video} opengl_es2"
    1.22 +    fi
    1.23 +}
    1.24 +
    1.25  CheckEmscriptenGLES()
    1.26  {
    1.27      if test x$enable_video = xyes -a x$enable_video_opengles = xyes; then
    1.28 @@ -24461,6 +24479,7 @@
    1.29          CheckMETAL
    1.30          CheckX11
    1.31          CheckMacGL
    1.32 +        CheckMacGLES
    1.33          CheckOpenGLX11
    1.34          CheckVulkan
    1.35          CheckPTHREAD