Skip to content
Permalink
Browse files
Some work on using accelerated alpha blits with hardware surfaces.
From Stephane Marchesin's fork, don't know who originally wrote it.
  • Loading branch information
icculus committed Apr 17, 2005
1 parent 2f5b5a7 commit 3ff6c7cc586d0c642c9df514c2ce79c750335899

File 4 of 4 in 3ff6c7c

@@ -212,6 +212,8 @@ int SDL_VideoInit (const char *driver_name, Uint32 flags)
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;

0 comments on commit 3ff6c7c

Please sign in to comment.