Mercurial > sdl-ios-xcode
comparison src/video/android/SDL_androidvideo.c @ 4707:8b109f0dcd2f
Removed old video subsystem, along with (now-unncessary) egl files.
author | Paul Hunkin <paul@bieh.net> |
---|---|
date | Fri, 18 Jun 2010 00:03:09 +1200 |
parents | c93b44ddc63e |
children | ba38983b10c2 |
comparison
equal
deleted
inserted
replaced
4706:12c9d4532b49 | 4707:8b109f0dcd2f |
---|---|
118 { | 118 { |
119 SDL_DisplayMode mode; | 119 SDL_DisplayMode mode; |
120 | 120 |
121 /* Use a fake 32-bpp desktop mode */ | 121 /* Use a fake 32-bpp desktop mode */ |
122 mode.format = SDL_PIXELFORMAT_RGB888; | 122 mode.format = SDL_PIXELFORMAT_RGB888; |
123 mode.w = 1024; | 123 mode.w = 320; |
124 mode.h = 768; | 124 mode.h = 480; |
125 mode.refresh_rate = 0; | 125 mode.refresh_rate = 0; |
126 mode.driverdata = NULL; | 126 mode.driverdata = NULL; |
127 if (SDL_AddBasicVideoDisplay(&mode) < 0) { | 127 if (SDL_AddBasicVideoDisplay(&mode) < 0) { |
128 return -1; | 128 return -1; |
129 } | 129 } |