summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Gl_Window.cxx8
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;
}
}