[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/src/core pgfilearchive.cpp,1.2.4.8,1.2.4.9
From: |
Eric Ross <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/src/core pgfilearchive.cpp,1.2.4.8,1.2.4.9 |
Date: |
Sat, 17 Aug 2002 17:53:13 -0400 |
Update of /cvsroot/paragui/paragui/src/core
In directory subversions:/tmp/cvs-serv22247
Modified Files:
Tag: devel-1-0
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.2.4.8
retrieving revision 1.2.4.9
diff -C2 -r1.2.4.8 -r1.2.4.9
*** pgfilearchive.cpp 30 Jul 2002 20:50:26 -0000 1.2.4.8
--- pgfilearchive.cpp 17 Aug 2002 21:53:11 -0000 1.2.4.9
***************
*** 39,42 ****
--- 39,44 ----
#include "physfsrwops.h"
+ extern "C" { int fnmatch(const char *pattern, const char *string, int flags);}
+
Uint32 PG_FileArchive::my_instance_count = 0;
PG_SurfaceCache PG_FileArchive::my_cache;
***************
*** 302,306 ****
if(convert && !PG_Application::GetGLMode()) {
! SDL_Surface* tmpsrf = SDL_DisplayFormat(surface);
if(tmpsrf) {
SDL_FreeSurface(surface);
--- 304,308 ----
if(convert && !PG_Application::GetGLMode()) {
! SDL_Surface* tmpsrf = SDL_DisplayFormatAlpha(surface);
if(tmpsrf) {
SDL_FreeSurface(surface);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/src/core pgfilearchive.cpp,1.2.4.8,1.2.4.9,
Eric Ross <address@hidden> <=