paragui-cvs
[Top][All Lists]
Advanced

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

[paragui-cvs] CVS: paragui/src/draw surface.cpp,1.3,1.3.6.1


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/src/draw surface.cpp,1.3,1.3.6.1
Date: Fri, 21 Jun 2002 17:13:42 -0400

Update of /cvsroot/paragui/paragui/src/draw
In directory subversions:/tmp/cvs-serv31592/src/draw

Modified Files:
      Tag: devel-1-0
        surface.cpp 
Log Message:
integrated new PhysFS into build system



Index: surface.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/draw/surface.cpp,v
retrieving revision 1.3
retrieving revision 1.3.6.1
diff -C2 -r1.3 -r1.3.6.1
*** surface.cpp 15 Apr 2002 13:35:35 -0000      1.3
--- surface.cpp 21 Jun 2002 21:13:40 -0000      1.3.6.1
***************
*** 64,68 ****
--- 64,74 ----
        if((background == NULL) || (background && (blend > 0))) {
                if(gradient != NULL) {
+                       if(SDL_MUSTLOCK(surface)) {
+                               SDL_LockSurface(surface);
+                       }
                        DrawGradient(surface, r, *gradient);
+                       if(SDL_MUSTLOCK(surface)) {
+                               SDL_UnlockSurface(surface);
+                       }
                }
        }




reply via email to

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