Mercurial > sdl-ios-xcode
comparison src/video/bwindow/SDL_BWin.h @ 1658:e49147870aac SDL-1.3
glSDL support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 01 May 2006 06:58:33 +0000 |
parents | 6162b8d921ce |
children | 782fd950bd46 |
comparison
equal
deleted
inserted
replaced
1657:5b0805ceb50f | 1658:e49147870aac |
---|---|
217 virtual int CreateView(Uint32 flags, Uint32 gl_flags) { | 217 virtual int CreateView(Uint32 flags, Uint32 gl_flags) { |
218 int retval; | 218 int retval; |
219 | 219 |
220 retval = 0; | 220 retval = 0; |
221 Lock(); | 221 Lock(); |
222 if ( flags & SDL_OPENGL ) { | 222 if ( flags & SDL_INTERNALOPENGL ) { |
223 #if SDL_VIDEO_OPENGL | 223 #if SDL_VIDEO_OPENGL |
224 if ( SDL_GLView == NULL ) { | 224 if ( SDL_GLView == NULL ) { |
225 SDL_GLView = new BGLView(Bounds(), "SDL GLView", | 225 SDL_GLView = new BGLView(Bounds(), "SDL GLView", |
226 B_FOLLOW_ALL_SIDES, (B_WILL_DRAW|B_FRAME_EVENTS), | 226 B_FOLLOW_ALL_SIDES, (B_WILL_DRAW|B_FRAME_EVENTS), |
227 gl_flags); | 227 gl_flags); |