FLTK logo

[fltk.coredev] Re: 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 Manolo Sep 08, 2022  
 

Le jeudi 8 septembre 2022 à 03:26:03 UTC+2, ggar...@gmail.com a écrit :
I am using OpenGL 4.1 on MacOS. I tried calling Fl_Gl_Window::draw() at the end of my GL viewport widget and was greeted with a crash in gl_draw / gl_font.
I am assuming the drawing of widgets in the GL context is just a OpenGL2 feature. Am I right?


Gonzalo Garramuno

You are right, because under macOS it's impossible to mix GL 3+ and GL2 calls in the same context.
 

--
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/9648f70d-4275-48ca-973a-d76c75060f91n%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'.