Mercurial > sdl-ios-xcode
diff src/video/SDL_video.c @ 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 | c1c2efca4548 |
children | 8d3b95ece376 |
line wrap: on
line diff
--- a/src/video/SDL_video.c Sun Apr 17 10:36:03 2005 +0000 +++ b/src/video/SDL_video.c Sun Apr 17 10:40:41 2005 +0000 @@ -212,6 +212,8 @@ video->offset_x = 0; video->offset_y = 0; memset(&video->info, 0, (sizeof video->info)); + + video->displayformatalphapixel = NULL; /* Set some very sane GL defaults */ video->gl_config.driver_loaded = 0;