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
This commit is contained in:
yuri 2010-12-20 09:39:32 +00:00
parent d9a2ac2f0a
commit a35defedd5

View File

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