Mercurial > sdl-ios-xcode
diff src/video/SDL_video.c @ 1729:0ef52d56e8bb SDL-1.3
Fixed compile problems with new OpenGL API.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 07 Jul 2006 10:39:33 +0000 |
parents | 98a3207ddde8 |
children | 0b1070f2f94d |
line wrap: on
line diff
--- a/src/video/SDL_video.c Fri Jul 07 10:39:02 2006 +0000 +++ b/src/video/SDL_video.c Fri Jul 07 10:39:33 2006 +0000 @@ -253,7 +253,6 @@ _this->gl_config.multisamplebuffers = 0; _this->gl_config.multisamplesamples = 0; _this->gl_config.accelerated = -1; /* not known, don't set */ - _this->gl_config.swap_control = -1; /* not known, don't set */ /* Initialize the video subsystem */ if (_this->VideoInit(_this) < 0) { @@ -1971,9 +1970,6 @@ case SDL_GL_ACCELERATED_VISUAL: _this->gl_config.accelerated = value; break; - case SDL_GL_SWAP_CONTROL: - _this->gl_config.swap_control = value; - break; default: SDL_SetError("Unknown OpenGL attribute"); retval = -1;