Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11opengl.c @ 2323:4ac07ae446d3
Fixed many valgrind errors. But, I broke testdyngl.
author | Bob Pendleton <bob@pendleton.com> |
---|---|
date | Thu, 06 Mar 2008 23:07:02 +0000 |
parents | c25d45b7add3 |
children | 3202e4826c57 |
comparison
equal
deleted
inserted
replaced
2322:c25d45b7add3 | 2323:4ac07ae446d3 |
---|---|
252 if (context) { | 252 if (context) { |
253 _this->gl_data->glXMakeCurrent(display, None, NULL); | 253 _this->gl_data->glXMakeCurrent(display, None, NULL); |
254 _this->gl_data->glXDestroyContext(display, context); | 254 _this->gl_data->glXDestroyContext(display, context); |
255 } | 255 } |
256 XDestroyWindow(display, w); | 256 XDestroyWindow(display, w); |
257 /* X11_PumpEvents(_this); */ /* can't do that because the windowlist may be inconsitent at this point */ | 257 X11_PumpEvents(_this); |
258 } | 258 } |
259 | 259 |
260 static int | 260 static int |
261 X11_GL_InitializeMemory(_THIS) | 261 X11_GL_InitializeMemory(_THIS) |
262 { | 262 { |