|
|
On Thu, 15 Sept 2022 at 23:17, Gonzalo wrote:
> > So... like creating an offscreen GL surface, and then getting the context for that, perhaps?
>
> Yes. The issue is that the offscreen GL surface is not drawn inside the GL window’s draw() method, so there’s no GL context.
>
Yes, but GL contexts under FLTK are a bit weird in that you can
(pretty much, anyway) draw to them outside of the regular draw()
method - if you can get a suitable reference to the context, then
using the usual GL techniques you can then draw stuff into that
context "as you go along"; so that might be sufficient for your needs?
I guess that is what Manolo was meaning when he said "You can access
the GL context with public member Fl_Gl_Window->context()" earlier?
Not sure...
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/CAGFM6db6APoTX2aB%2BXsbcy7fc3PtFwkpbyBjHhcV9iHVC_MpTg%40mail.gmail.com.
[ Direct Link to Message ] | |
|
| |