Mercurial > sdl-ios-xcode
comparison src/SDL_compat.c @ 3139:7f684f249ec9
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 23 May 2009 22:41:08 +0000 |
parents | 5f372cef955d |
children | 00cace2d9080 |
comparison
equal
deleted
inserted
replaced
3125:d71d8ceda8b3 | 3139:7f684f249ec9 |
---|---|
492 if (!SDL_GetVideoDevice()) { | 492 if (!SDL_GetVideoDevice()) { |
493 if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE) < 0) { | 493 if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE) < 0) { |
494 return NULL; | 494 return NULL; |
495 } | 495 } |
496 } | 496 } |
497 | 497 |
498 SDL_GetDesktopDisplayMode(&desktop_mode); | 498 SDL_GetDesktopDisplayMode(&desktop_mode); |
499 | 499 |
500 if (width == 0) { | 500 if (width == 0) { |
501 width = desktop_mode.w; | 501 width = desktop_mode.w; |
502 } | 502 } |