diff src/video/x11/SDL_x11opengl.c @ 1956:ba0d62354872

Simplified driver window creation code. Implemented several Cocoa window functions
author Sam Lantinga <slouken@libsdl.org>
date Sat, 29 Jul 2006 21:51:00 +0000
parents 8c6106e45fc1
children 12bcd4fd2606
line wrap: on
line diff
--- a/src/video/x11/SDL_x11opengl.c	Sat Jul 29 03:57:55 2006 +0000
+++ b/src/video/x11/SDL_x11opengl.c	Sat Jul 29 21:51:00 2006 +0000
@@ -113,8 +113,7 @@
     if (!_this->gl_data->glXChooseVisual ||
         !_this->gl_data->glXCreateContext ||
         !_this->gl_data->glXDestroyContext ||
-        !_this->gl_data->glXMakeCurrent ||
-        !_this->gl_data->glXSwapBuffers) {
+        !_this->gl_data->glXMakeCurrent || !_this->gl_data->glXSwapBuffers) {
         SDL_SetError("Could not retrieve OpenGL functions");
         return -1;
     }