From 0f75e7fdb2759e5967b81f7044d2e6b4c5994875 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 30 Jun 2014 09:39:57 +0000 Subject: 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 --- src/Fl_Gl_Window.cxx | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src') 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; } } -- cgit v1.2.3