Author: yuri
Date: 2010-12-20 01:39:32 -0800 (Mon, 20 Dec 2010)
New Revision: 8071
Log:
change __linux__ to USE_X11 fix STR #2437
Modified:
branches/branch-1.3/src/Fl_Gl_Window.cxx
Modified: branches/branch-1.3/src/Fl_Gl_Window.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Gl_Window.cxx 2010-12-20 08:20:44 UTC (rev
8070)
+++ branches/branch-1.3/src/Fl_Gl_Window.cxx 2010-12-20 09:39:32 UTC (rev
8071)
@@ -323,7 +323,7 @@
glDrawBuffer(GL_BACK);
if (!SWAP_TYPE) {
-#if defined (__APPLE_QUARTZ__) || defined (__linux__)
+#if defined (__APPLE_QUARTZ__) || defined (USE_X11)
SWAP_TYPE = COPY;
#else
SWAP_TYPE = UNDEFINED;
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit