changeset 266:1613a51ca349 trunk

[svn] - make sure the alphachannel is always full
author nenolod
date Sat, 18 Nov 2006 21:02:55 -0800
parents 32de2fc2270a
children 89e1003e5e84
files ChangeLog src/paranormal/paranormal.c
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Nov 18 19:19:36 2006 -0800
+++ b/ChangeLog	Sat Nov 18 21:02:55 2006 -0800
@@ -1,3 +1,11 @@
+2006-11-19 03:19:36 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [554]
+  - use VFS here
+  
+  trunk/src/wavpack/tags.cxx |   69 ++++++++++++++++++++++-----------------------
+  1 file changed, 35 insertions(+), 34 deletions(-)
+
+
 2006-11-19 03:00:23 +0000  William Pitcock <nenolod@nenolod.net>
   revision [552]
   - add missing vfs_fclose().
--- a/src/paranormal/paranormal.c	Sat Nov 18 19:19:36 2006 -0800
+++ b/src/paranormal/paranormal.c	Sat Nov 18 21:02:55 2006 -0800
@@ -43,6 +43,7 @@
 
   SDL_SetPalette (screen, SDL_LOGPAL|SDL_PHYSPAL,
 		  (SDL_Color*)pn_image_data->cmap, 0, 256);
+  SDL_SetAlpha (screen, 0, 255);
 
   for (j=0; j<pn_image_data->height; j++)
       memcpy (screen->pixels + j*screen->pitch,