diff options
| author | Pierre Ossman <ossman@cendio.se> | 2014-06-30 09:39:57 +0000 |
|---|---|---|
| committer | Pierre Ossman <ossman@cendio.se> | 2014-06-30 09:39:57 +0000 |
| commit | 0f75e7fdb2759e5967b81f7044d2e6b4c5994875 (patch) | |
| tree | bddc7b99fc5bc5925d043cd12e80e17ea35e32f5 /src | |
| parent | a59a3d29ffafa97e07db41209e9b2a680db09a04 (diff) | |
The SGI 320 is obsolete since many many years, so remove this code
rather than try to port it to the new fancy cursor handling.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Gl_Window.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx index 9c29a7b38..16de91e80 100644 --- a/src/Fl_Gl_Window.cxx +++ b/src/Fl_Gl_Window.cxx @@ -313,16 +313,9 @@ void Fl_Gl_Window::flush() { #if HAVE_GL_OVERLAY && defined(WIN32) - bool fixcursor = false; // for fixing the SGI 320 bug - // Draw into hardware overlay planes if they are damaged: if (overlay && overlay != this && (damage()&(FL_DAMAGE_OVERLAY|FL_DAMAGE_EXPOSE) || !save_valid)) { - // SGI 320 messes up overlay with user-defined cursors: - if (Fl_X::i(this)->cursor && Fl_X::i(this)->cursor != fl_default_cursor) { - fixcursor = true; // make it restore cursor later - SetCursor(0); - } fl_set_gl_context(this, (GLContext)overlay); if (fl_overlay_depth) wglRealizeLayerPalette(Fl_X::i(this)->private_dc, 1, TRUE); @@ -335,7 +328,6 @@ void Fl_Gl_Window::flush() { wglSwapLayerBuffers(Fl_X::i(this)->private_dc, WGL_SWAP_OVERLAY1); // if only the overlay was damaged we are done, leave main layer alone: if (damage() == FL_DAMAGE_OVERLAY) { - if (fixcursor) SetCursor(Fl_X::i(this)->cursor); return; } } |
