From a35defedd5bf0b5e5a377a5c311bed6edc4a3f57 Mon Sep 17 00:00:00 2001 From: yuri Date: Mon, 20 Dec 2010 09:39:32 +0000 Subject: change __linux__ to USE_X11 fix STR #2437 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8071 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Gl_Window.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx index 3c897cb77..0f46b23bb 100644 --- a/src/Fl_Gl_Window.cxx +++ b/src/Fl_Gl_Window.cxx @@ -323,7 +323,7 @@ void Fl_Gl_Window::flush() { 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; -- cgit v1.2.3