Mercurial > sdl-ios-xcode
comparison src/video/windib/SDL_dibvideo.h @ 338:518ffd98a8f6
Fixed gamma ramps in DirectX windowed and OpenGL modes
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 11 Apr 2002 15:23:07 +0000 |
parents | f6ffac90895c |
children | b8d311d90021 |
comparison
equal
deleted
inserted
replaced
337:9154ec9ca3d2 | 338:518ffd98a8f6 |
---|---|
36 HPALETTE screen_pal; | 36 HPALETTE screen_pal; |
37 | 37 |
38 #define NUM_MODELISTS 4 /* 8, 16, 24, and 32 bits-per-pixel */ | 38 #define NUM_MODELISTS 4 /* 8, 16, 24, and 32 bits-per-pixel */ |
39 int SDL_nummodes[NUM_MODELISTS]; | 39 int SDL_nummodes[NUM_MODELISTS]; |
40 SDL_Rect **SDL_modelist[NUM_MODELISTS]; | 40 SDL_Rect **SDL_modelist[NUM_MODELISTS]; |
41 | |
42 WORD *gamma_saved; | |
43 }; | 41 }; |
44 /* Old variable names */ | 42 /* Old variable names */ |
45 #define screen_bmp (this->hidden->screen_bmp) | 43 #define screen_bmp (this->hidden->screen_bmp) |
46 #define screen_pal (this->hidden->screen_pal) | 44 #define screen_pal (this->hidden->screen_pal) |
47 #define SDL_nummodes (this->hidden->SDL_nummodes) | 45 #define SDL_nummodes (this->hidden->SDL_nummodes) |
48 #define SDL_modelist (this->hidden->SDL_modelist) | 46 #define SDL_modelist (this->hidden->SDL_modelist) |
49 #define gamma_saved (this->hidden->gamma_saved) | |
50 | 47 |
51 #endif /* _SDL_dibvideo_h */ | 48 #endif /* _SDL_dibvideo_h */ |