Mercurial > sdl-ios-xcode
comparison src/video/win32/SDL_win32video.c @ 1936:83946ee0ff1f
Implemented OpenGL support on Mac OS X
The OpenGL renderer works without changes, yay! :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 25 Jul 2006 06:22:42 +0000 |
parents | 83420da906a5 |
children | 420716272158 |
comparison
equal
deleted
inserted
replaced
1935:8a9b367a80f3 | 1936:83946ee0ff1f |
---|---|
124 device->DestroyWindow = WIN_DestroyWindow; | 124 device->DestroyWindow = WIN_DestroyWindow; |
125 device->GetWindowWMInfo = WIN_GetWindowWMInfo; | 125 device->GetWindowWMInfo = WIN_GetWindowWMInfo; |
126 #ifdef SDL_VIDEO_OPENGL | 126 #ifdef SDL_VIDEO_OPENGL |
127 device->GL_LoadLibrary = WIN_GL_LoadLibrary; | 127 device->GL_LoadLibrary = WIN_GL_LoadLibrary; |
128 device->GL_GetProcAddress = WIN_GL_GetProcAddress; | 128 device->GL_GetProcAddress = WIN_GL_GetProcAddress; |
129 device->GL_GetWindowAttribute = WIN_GL_GetWindowAttribute; | |
130 device->GL_CreateContext = WIN_GL_CreateContext; | 129 device->GL_CreateContext = WIN_GL_CreateContext; |
131 device->GL_MakeCurrent = WIN_GL_MakeCurrent; | 130 device->GL_MakeCurrent = WIN_GL_MakeCurrent; |
132 device->GL_SetSwapInterval = WIN_GL_SetSwapInterval; | 131 device->GL_SetSwapInterval = WIN_GL_SetSwapInterval; |
133 device->GL_GetSwapInterval = WIN_GL_GetSwapInterval; | 132 device->GL_GetSwapInterval = WIN_GL_GetSwapInterval; |
134 device->GL_SwapWindow = WIN_GL_SwapWindow; | 133 device->GL_SwapWindow = WIN_GL_SwapWindow; |