Mercurial > sdl-ios-xcode
comparison src/video/bwindow/SDL_sysvideo.cc @ 5281:15a71bec4a55
merged
author | Eric Wing <ewing . public |-at-| gmail . com> |
---|---|
date | Sat, 12 Feb 2011 19:16:09 -0800 |
parents | b530ef003506 |
children |
comparison
equal
deleted
inserted
replaced
5219:adfcdd311ae0 | 5281:15a71bec4a55 |
---|---|
1 /* | 1 /* |
2 SDL - Simple DirectMedia Layer | 2 SDL - Simple DirectMedia Layer |
3 Copyright (C) 1997-2009 Sam Lantinga | 3 Copyright (C) 1997-2011 Sam Lantinga |
4 | 4 |
5 This library is free software; you can redistribute it and/or | 5 This library is free software; you can redistribute it and/or |
6 modify it under the terms of the GNU Lesser General Public | 6 modify it under the terms of the GNU Lesser General Public |
7 License as published by the Free Software Foundation; either | 7 License as published by the Free Software Foundation; either |
8 version 2.1 of the License, or (at your option) any later version. | 8 version 2.1 of the License, or (at your option) any later version. |
127 device->SetHWAlpha = NULL; | 127 device->SetHWAlpha = NULL; |
128 device->LockHWSurface = BE_LockHWSurface; | 128 device->LockHWSurface = BE_LockHWSurface; |
129 device->UnlockHWSurface = BE_UnlockHWSurface; | 129 device->UnlockHWSurface = BE_UnlockHWSurface; |
130 device->FlipHWSurface = NULL; | 130 device->FlipHWSurface = NULL; |
131 device->FreeHWSurface = BE_FreeHWSurface; | 131 device->FreeHWSurface = BE_FreeHWSurface; |
132 /* Gamma support */ | |
133 #if SDL_VIDEO_OPENGL | 132 #if SDL_VIDEO_OPENGL |
134 /* OpenGL support */ | 133 /* OpenGL support */ |
135 device->GL_LoadLibrary = BE_GL_LoadLibrary; | 134 device->GL_LoadLibrary = BE_GL_LoadLibrary; |
136 device->GL_GetProcAddress = BE_GL_GetProcAddress; | 135 device->GL_GetProcAddress = BE_GL_GetProcAddress; |
137 device->GL_GetAttribute = BE_GL_GetAttribute; | 136 device->GL_GetAttribute = BE_GL_GetAttribute; |