Mercurial > sdl-ios-xcode
diff src/video/cocoa/SDL_cocoamodes.m @ 1969:5d3724f64f2b
Clarified the difference between render drivers and render contexts
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 06 Aug 2006 00:09:04 +0000 |
parents | 70139af5ac27 |
children | 81255f93dfcd |
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoamodes.m Sat Aug 05 22:41:33 2006 +0000 +++ b/src/video/cocoa/SDL_cocoamodes.m Sun Aug 06 00:09:04 2006 +0000 @@ -94,16 +94,16 @@ number = CFDictionaryGetValue(moderef, kCGDisplayRefreshRate); CFNumberGetValue(number, kCFNumberLongType, &refreshRate); - mode->format = SDL_PixelFormat_Unknown; + mode->format = SDL_PIXELFORMAT_UNKNOWN; switch (bpp) { case 8: - mode->format = SDL_PixelFormat_Index8; + mode->format = SDL_PIXELFORMAT_INDEX8; break; case 16: - mode->format = SDL_PixelFormat_RGB555; + mode->format = SDL_PIXELFORMAT_RGB555; break; case 32: - mode->format = SDL_PixelFormat_RGB888; + mode->format = SDL_PIXELFORMAT_RGB888; break; } mode->w = width;