DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Pending]

Link: http://www.fltk.org/str.php?L2437
Version: 1.3.0
Fix Version: None


I can confirm that r8026 fixes the issue in test/gl_overlay on my Ubuntu
system (in a Virtualbox VM).

However, I want to bring up the point that the change uses the macro
__linux__ , as Manolo mentioned elsewhere. I don't understand the
internals, but wouldn't it be better to use this for *all* X11 systems and
not only linux and see if this works when we release FLTK 1.3 ?

If we get negative feedback, we can still sort out which systems need what
option.

Here are the relevant lines of the patch:

$ svn diff -c 8026
Index: src/Fl_Gl_Window.cxx
===================================================================
--- src/Fl_Gl_Window.cxx        (revision 8025)
+++ src/Fl_Gl_Window.cxx        (revision 8026)
@@ -324,7 +324,7 @@
     glDrawBuffer(GL_BACK);

     if (!SWAP_TYPE) {
-#if defined (__APPLE_QUARTZ__)
+#if defined (__APPLE_QUARTZ__) || defined (__linux__)
       SWAP_TYPE = COPY;
 #else
       SWAP_TYPE = UNDEFINED;
...

This should probably read:

+#if defined (__APPLE_QUARTZ__) || defined (USE_X11)

or maybe:

+#if !defined (WIN32)

Can someone who knows more about this please take a look and make a
decision what to do? Thanks.


Link: http://www.fltk.org/str.php?L2437
Version: 1.3.0
Fix Version: None

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to