paragui-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-cvs] CVS: paragui/src/core pgfilearchive.cpp,1.4,1.5


From: Eric Ross <address@hidden>
Subject: [paragui-cvs] CVS: paragui/src/core pgfilearchive.cpp,1.4,1.5
Date: Sat, 17 Aug 2002 21:14:43 -0400

Update of /cvsroot/paragui/paragui/src/core
In directory subversions:/tmp/cvs-serv16474

Modified Files:
        pgfilearchive.cpp 
Log Message:
Change SDL_DisplayFormat to SDL_DisplayFormatAlpha to avoid destroying the alfa 
channel when converting the surface to display format (Guillaume Schmid)



Index: pgfilearchive.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/core/pgfilearchive.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** pgfilearchive.cpp   29 Apr 2002 11:44:22 -0000      1.4
--- pgfilearchive.cpp   18 Aug 2002 01:14:41 -0000      1.5
***************
*** 247,251 ****
        
        if(convert) {
!               SDL_Surface* tmpsrf = SDL_DisplayFormat(surface);
                if(tmpsrf) {
                        SDL_FreeSurface(surface);
--- 247,251 ----
        
        if(convert) {
!               SDL_Surface* tmpsrf = SDL_DisplayFormatAlpha(surface);
                if(tmpsrf) {
                        SDL_FreeSurface(surface);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]