src/video/raspberry/SDL_rpiopengles.c
changeset 11444 38f181f81476
parent 11175 cbc6a8a5b701
child 11694 2ce56475ad57
     1.1 --- a/src/video/raspberry/SDL_rpiopengles.c	Sat Sep 02 16:41:14 2017 -0400
     1.2 +++ b/src/video/raspberry/SDL_rpiopengles.c	Sat Sep 02 19:35:32 2017 -0400
     1.3 @@ -27,6 +27,14 @@
     1.4  
     1.5  /* EGL implementation of SDL OpenGL support */
     1.6  
     1.7 +void
     1.8 +RPI_GLES_DefaultProfileConfig(_THIS, int *mask, int *major, int *minor)
     1.9 +{
    1.10 +    *mask = SDL_GL_CONTEXT_PROFILE_ES;
    1.11 +    *major = 2;
    1.12 +    *minor = 0;
    1.13 +}
    1.14 +
    1.15  int
    1.16  RPI_GLES_LoadLibrary(_THIS, const char *path) {
    1.17      return SDL_EGL_LoadLibrary(_this, path, EGL_DEFAULT_DISPLAY, 0);