Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
1051:091350827e08 | 1052:68f607298ca9 |
---|---|
210 video->wm_title = NULL; | 210 video->wm_title = NULL; |
211 video->wm_icon = NULL; | 211 video->wm_icon = NULL; |
212 video->offset_x = 0; | 212 video->offset_x = 0; |
213 video->offset_y = 0; | 213 video->offset_y = 0; |
214 memset(&video->info, 0, (sizeof video->info)); | 214 memset(&video->info, 0, (sizeof video->info)); |
215 | |
216 video->displayformatalphapixel = NULL; | |
215 | 217 |
216 /* Set some very sane GL defaults */ | 218 /* Set some very sane GL defaults */ |
217 video->gl_config.driver_loaded = 0; | 219 video->gl_config.driver_loaded = 0; |
218 video->gl_config.dll_handle = NULL; | 220 video->gl_config.dll_handle = NULL; |
219 video->gl_config.red_size = 5; | 221 video->gl_config.red_size = 5; |