src/video/SDL_video.c
changeset 10491 c64e191b5518
parent 10385 ad12658bc7ae
child 10499 363c1c7e7a41
     1.1 --- a/src/video/SDL_video.c	Fri Oct 07 18:03:08 2016 -0700
     1.2 +++ b/src/video/SDL_video.c	Fri Oct 07 18:09:09 2016 -0700
     1.3 @@ -1366,7 +1366,9 @@
     1.4  
     1.5      /* Some platforms have OpenGL enabled by default */
     1.6  #if (SDL_VIDEO_OPENGL && __MACOSX__) || __IPHONEOS__ || __ANDROID__ || __NACL__
     1.7 -    flags |= SDL_WINDOW_OPENGL;
     1.8 +    if (SDL_strcmp(_this->name, "dummy") != 0) {
     1.9 +        flags |= SDL_WINDOW_OPENGL;
    1.10 +    }
    1.11  #endif
    1.12      if (flags & SDL_WINDOW_OPENGL) {
    1.13          if (!_this->GL_CreateContext) {