diff options
| author | yuri <yuri> | 2010-12-20 09:39:32 +0000 |
|---|---|---|
| committer | yuri <yuri> | 2010-12-20 09:39:32 +0000 |
| commit | a35defedd5bf0b5e5a377a5c311bed6edc4a3f57 (patch) | |
| tree | 90fcf4584ca2947d4b7b86f0be0ccfe1c0896a24 /src | |
| parent | d9a2ac2f0a3da5863428438637f9e0344a660de8 (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Gl_Window.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
