Mercurial > sdl-ios-xcode
comparison src/video/SDL_video.c @ 1965:a788656ca29a
SDL constants are all uppercase.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 05 Aug 2006 17:09:42 +0000 |
parents | 2590b68531ef |
children | 01e29c3e9a29 |
comparison
equal
deleted
inserted
replaced
1964:071b6598d48f | 1965:a788656ca29a |
---|---|
529 } | 529 } |
530 closest->driverdata = match->driverdata; | 530 closest->driverdata = match->driverdata; |
531 | 531 |
532 /* Pick some reasonable defaults if the app and driver don't care */ | 532 /* Pick some reasonable defaults if the app and driver don't care */ |
533 if (!closest->format) { | 533 if (!closest->format) { |
534 closest->format = SDL_PixelFormat_RGB888; | 534 closest->format = SDL_PIXELFORMAT_RGB888; |
535 } | 535 } |
536 if (!closest->w) { | 536 if (!closest->w) { |
537 closest->w = 640; | 537 closest->w = 640; |
538 } | 538 } |
539 if (!closest->h) { | 539 if (!closest->h) { |