mail[Wesnoth-commits] r27417 - /branches/gp2x/src/video.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by grywacz on June 22, 2008 - 23:05:
Author: grzywacz
Date: Sun Jun 22 23:05:48 2008
New Revision: 27417

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27417&view=rev
Log:
Protect gp2x specific code with ifdefs.

Modified:
    branches/gp2x/src/video.cpp

Modified: branches/gp2x/src/video.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/gp2x/src/video.cpp?rev=27417&r1=27416&r2=27417&view=diff
==============================================================================
--- branches/gp2x/src/video.cpp (original)
+++ branches/gp2x/src/video.cpp Sun Jun 22 23:05:48 2008
@@ -269,7 +269,9 @@
        if( res == 0 )
                return 0;
 
+#ifdef GP2X
        SDL_GP2X_AllowGfxMemory(NULL, 0);
+#endif
 
        fullScreen = (flags & FULL_SCREEN) != 0;
        frameBuffer = SDL_SetVideoMode( x, y, bits_per_pixel, flags );




Related Messages


Powered by MHonArc, Updated Sun Jun 22 23:41:18 2008