diff src/video/SDL_sysvideo.h @ 1052:68f607298ca9

Some work on using accelerated alpha blits with hardware surfaces. From Stephane Marchesin's fork, don't know who originally wrote it.
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 17 Apr 2005 10:40:41 +0000
parents b8d311d90021
children af8b0f9ac2f4
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h	Sun Apr 17 10:36:03 2005 +0000
+++ b/src/video/SDL_sysvideo.h	Sun Apr 17 10:40:41 2005 +0000
@@ -134,6 +134,9 @@
 	/* Information about the video hardware */
 	SDL_VideoInfo info;
 
+	/* The pixel format used when SDL_CreateRGBSurface creates SDL_HWSURFACEs with alpha */
+	SDL_PixelFormat* displayformatalphapixel;
+	
 	/* Allocates a surface in video memory */
 	int (*AllocHWSurface)(_THIS, SDL_Surface *surface);