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 imacarthur Sep 27, 2022  
 
On Tuesday, 27 September 2022 at 14:08:52 UTC+1 Manolo wrote:
Le dimanche 25 septembre 2022 à 17:04:19 UTC+2, Manolo a écrit :
The FLTK git repo now contains (89f9671) cross-platform support for adding FLTK widgets
to an OpenGL3-using Fl_Gl_Window.

That commit has been completed by a newer one (59fc60e) that removes the need
for platform-specific source code in apps that add FLTK widgets to OpenGL3 windows.

Demo program examples/OpenGL3test.cxx shows how to add an FLTK button to
an OpenGL3 window.


Hmm, not sure that works on my ancient Mac; I have 

ian$ git log -n1

commit 3225afaeecc1a1f0a54cab6f60be485a0352606c (HEAD -> master, origin/master, origin/HEAD)

Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>

Date:   Tue Sep 27 16:51:35 2022 +0200

    Remove use of class Fl_Window_Driver inside libfltk_gl


And when I run  examples/OpenGL3test I get the GL pane filled with solid red, and a translucent button above it (not the expected square with the rainbow gradient.)

If I toggle double/single buffer, the gradient square appears and the button disappears.

In either case, if I click where I know the object to be the diagnostics printed suggest the widgets are present and responding normally, I simply can not see them.

GL_VERSION=4.1 ATI-1.68.25
Shading Language Version=4.10


on macOS High Sierra 10.13.6


--
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/6ab92ddd-a13a-43ea-99b2-e4ab5daf51dcn%40googlegroups.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'.