diff src/video/bwindow/SDL_lowvideo.h @ 756:10332c6fad2e

te: Mon, 15 Dec 2003 08:25:14 -0800 PST From: "Andrew Bachmann" Subject: libSDL patches for beos video I created some patches to SDL: 1. YUV overlay support 2. maintain high refresh rate when changing resolutions to a lower resolution
author Sam Lantinga <slouken@libsdl.org>
date Tue, 16 Dec 2003 13:04:44 +0000
parents f6ffac90895c
children b8d311d90021
line wrap: on
line diff
--- a/src/video/bwindow/SDL_lowvideo.h	Sun Dec 14 06:28:07 2003 +0000
+++ b/src/video/bwindow/SDL_lowvideo.h	Tue Dec 16 13:04:44 2003 +0000
@@ -28,6 +28,7 @@
 #ifndef _SDL_lowvideo_h
 #define _SDL_lowvideo_h
 
+#include "SDL_BWin.h"
 #include "SDL_mouse.h"
 #include "SDL_sysvideo.h"
 
@@ -55,6 +56,8 @@
 	/* Keyboard state variables */
 	int key_flip;
 	struct key_info keyinfo[2];
+	
+	SDL_Overlay *overlay;
 };
 /* Old variable names */
 #define SDL_Win		(_this->hidden->SDL_Win)
@@ -66,5 +69,6 @@
 #define last_point	(_this->hidden->last_point)
 #define key_flip	(_this->hidden->key_flip)
 #define keyinfo		(_this->hidden->keyinfo)
+#define current_overlay (_this->hidden->overlay)
 
 #endif /* _SDL_lowvideo_h */