comparison src/video/cocoa/SDL_cocoavideo.m @ 1952:420716272158

Implemented X11 OpenGL support. Added support for the SDL_VIDEO_OPENGL environment variable.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 28 Jul 2006 08:43:17 +0000
parents 83946ee0ff1f
children 25d6537feea4
comparison
equal deleted inserted replaced
1951:7177581dc9fa 1952:420716272158
85 device->MinimizeWindow = Cocoa_MinimizeWindow; 85 device->MinimizeWindow = Cocoa_MinimizeWindow;
86 device->RestoreWindow = Cocoa_RestoreWindow; 86 device->RestoreWindow = Cocoa_RestoreWindow;
87 device->SetWindowGrab = Cocoa_SetWindowGrab; 87 device->SetWindowGrab = Cocoa_SetWindowGrab;
88 device->DestroyWindow = Cocoa_DestroyWindow; 88 device->DestroyWindow = Cocoa_DestroyWindow;
89 device->GetWindowWMInfo = Cocoa_GetWindowWMInfo; 89 device->GetWindowWMInfo = Cocoa_GetWindowWMInfo;
90 #ifdef SDL_VIDEO_OPENGL 90 #ifdef SDL_VIDEO_OPENGL_CGL
91 device->GL_LoadLibrary = Cocoa_GL_LoadLibrary; 91 device->GL_LoadLibrary = Cocoa_GL_LoadLibrary;
92 device->GL_GetProcAddress = Cocoa_GL_GetProcAddress; 92 device->GL_GetProcAddress = Cocoa_GL_GetProcAddress;
93 device->GL_CreateContext = Cocoa_GL_CreateContext; 93 device->GL_CreateContext = Cocoa_GL_CreateContext;
94 device->GL_MakeCurrent = Cocoa_GL_MakeCurrent; 94 device->GL_MakeCurrent = Cocoa_GL_MakeCurrent;
95 device->GL_SetSwapInterval = Cocoa_GL_SetSwapInterval; 95 device->GL_SetSwapInterval = Cocoa_GL_SetSwapInterval;