Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11video.c @ 1654:0a53c90a37f9 SDL-1.3
Updated to 1.3.0, SDL_OPENGLBLIT is no longer supported
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 27 Apr 2006 05:30:05 +0000 |
parents | 5cf11b00b900 |
children | e49147870aac |
comparison
equal
deleted
inserted
replaced
1653:939d938d62df | 1654:0a53c90a37f9 |
---|---|
583 | 583 |
584 static void X11_DestroyWindow(_THIS, SDL_Surface *screen) | 584 static void X11_DestroyWindow(_THIS, SDL_Surface *screen) |
585 { | 585 { |
586 /* Clean up OpenGL */ | 586 /* Clean up OpenGL */ |
587 if ( screen ) { | 587 if ( screen ) { |
588 screen->flags &= ~(SDL_OPENGL|SDL_OPENGLBLIT); | 588 screen->flags &= ~SDL_OPENGL; |
589 } | 589 } |
590 X11_GL_Shutdown(this); | 590 X11_GL_Shutdown(this); |
591 | 591 |
592 if ( ! SDL_windowid ) { | 592 if ( ! SDL_windowid ) { |
593 /* Hide the managed window */ | 593 /* Hide the managed window */ |