Mercurial > sdl-ios-xcode
comparison src/video/qtopia/SDL_sysvideo.cc @ 1658:e49147870aac SDL-1.3
glSDL support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 01 May 2006 06:58:33 +0000 |
parents | 8d9bb0cf2c2a |
children | 782fd950bd46 |
comparison
equal
deleted
inserted
replaced
1657:5b0805ceb50f | 1658:e49147870aac |
---|---|
294 current->h = desktop_size.width(); | 294 current->h = desktop_size.width(); |
295 current->w = desktop_size.height(); | 295 current->w = desktop_size.height(); |
296 } else { | 296 } else { |
297 SDL_SetError("Unsupported resolution, %dx%d\n", width, height); | 297 SDL_SetError("Unsupported resolution, %dx%d\n", width, height); |
298 } | 298 } |
299 if ( flags & SDL_OPENGL ) { | 299 if ( flags & SDL_INTERNALOPENGL ) { |
300 SDL_SetError("OpenGL not supported"); | 300 SDL_SetError("OpenGL not supported"); |
301 return(NULL); | 301 return(NULL); |
302 } | 302 } |
303 /* Create the QImage framebuffer */ | 303 /* Create the QImage framebuffer */ |
304 qimage = new QImage(current->w, current->h, bpp); | 304 qimage = new QImage(current->w, current->h, bpp); |