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:
parent
d9a2ac2f0a
commit
a35defedd5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user