diff src/video/wincommon/SDL_lowvideo.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 bc4d50d2edd9
children a6fa62b1be09
line wrap: on
line diff
--- a/src/video/wincommon/SDL_lowvideo.h	Thu Apr 11 14:35:16 2002 +0000
+++ b/src/video/wincommon/SDL_lowvideo.h	Thu Apr 11 15:23:07 2002 +0000
@@ -67,9 +67,6 @@
 /* Called by windows message loop when the system palette changes */
 extern void (*WIN_PaletteChanged)(_THIS, HWND window);
 
-/* Called by windows message loop when losing or gaining gamma focus */
-extern void (*WIN_SwapGamma)(_THIS);
-
 /* Called by windows message loop when a portion of the screen needs update */
 extern void (*WIN_WinPAINT)(_THIS, HDC hdc);
 
@@ -93,6 +90,9 @@
 extern DEVMODE SDL_fullscreen_mode;
 #endif
 
+/* The system gamma ramp for GDI modes */
+extern WORD *gamma_saved;
+
 /* This is really from SDL_dx5audio.c */
 extern void DX5_SoundFocus(HWND window);