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 );


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to