comparison src/video/cocoa/SDL_cocoaopengl.m @ 3759:064c178558b7 gsoc2008_manymouse

sync with trunk
author Szymon Wilczek <kazeuser@gmail.com>
date Fri, 06 Jun 2008 14:50:56 +0000
parents 114a541cfae2
children 79c1bd651f04
comparison
equal deleted inserted replaced
3758:5f3ea4cd5adb 3759:064c178558b7
286 int 286 int
287 Cocoa_GL_SetSwapInterval(_THIS, int interval) 287 Cocoa_GL_SetSwapInterval(_THIS, int interval)
288 { 288 {
289 NSAutoreleasePool *pool; 289 NSAutoreleasePool *pool;
290 NSOpenGLContext *nscontext; 290 NSOpenGLContext *nscontext;
291 long value; 291 GLint value;
292 int status; 292 int status;
293 293
294 pool = [[NSAutoreleasePool alloc] init]; 294 pool = [[NSAutoreleasePool alloc] init];
295 295
296 nscontext = [NSOpenGLContext currentContext]; 296 nscontext = [NSOpenGLContext currentContext];
310 int 310 int
311 Cocoa_GL_GetSwapInterval(_THIS) 311 Cocoa_GL_GetSwapInterval(_THIS)
312 { 312 {
313 NSAutoreleasePool *pool; 313 NSAutoreleasePool *pool;
314 NSOpenGLContext *nscontext; 314 NSOpenGLContext *nscontext;
315 long value; 315 GLint value;
316 int status; 316 int status;
317 317
318 pool = [[NSAutoreleasePool alloc] init]; 318 pool = [[NSAutoreleasePool alloc] init];
319 319
320 nscontext = [NSOpenGLContext currentContext]; 320 nscontext = [NSOpenGLContext currentContext];