src/video/SDL_video.c
changeset 6522 edacce9402fb
parent 6518 42948831d16e
child 6547 38bc368a3b87
     1.1 --- a/src/video/SDL_video.c	Sun Sep 30 01:01:48 2012 -0700
     1.2 +++ b/src/video/SDL_video.c	Sun Sep 30 01:08:48 2012 -0700
     1.3 @@ -2639,7 +2639,7 @@
     1.4  void
     1.5  SDL_GL_DeleteContext(SDL_GLContext context)
     1.6  {
     1.7 -    if (!_this || !_this->gl_data || !context) {
     1.8 +    if (!_this || !context) {
     1.9          return;
    1.10      }
    1.11      _this->GL_MakeCurrent(_this, NULL, NULL);