FLTK logo

Re: [fltk.coredev] GL root Fl_Gl_Window::draw

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: GL root Fl_Gl_Window::draw Ian MacArthur Sep 28, 2022  
 
On 28 Sep 2022, at 07:10, Manolo wrote:
> 
> Ian: could you, please, comment out line #141 of file examples/OpenGL3test.cxx to obtain
>     //Fl_Gl_Window::draw(); // Draw FLTK child widgets.
> and report here whether the GL3 scene draws correctly after that change?
> TIA.

OK - that works “as normal”, though of course there is no button drawn now. The button is still there though, as I can “click” it if I know where to press.

Also, more info about the “broken” state: Previously I noted that toggling from double-buffered to single-buffered caused the gradient square to appear and hid the button.
Any subsequent toggling of that always shows the gradient square, in either double or single-buffer display, but transiently as the scene is redrawn on each toggle, I can see the button being shown and there is a substantial flickering, as if the whole scene were drawn "in red with a button", then redrawn with the gradient square...


-- 
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/734FBFFA-3AD8-448A-ADC5-45F7730880D6%40gmail.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.