I added this to the top of one of my OpenGL apps:
#! perl -slw use strict; use threads; use OpenGL qw[ :all ]; async{ print 'from thread' }->detach; ...
And I get:
c:\test>GLex7.2.pl Can't locate package GLUquadricObjPtr for @OpenGL::Quad::ISA at c:/Per +l/lib/threads.pm line 117. from thread display display ...
The app runs without problems (other than the error message), but it probably indicates that OpenGL isn't thread-safe.
In reply to Re: Threads + OpenGL act weirdly?
by BrowserUk
in thread Threads + OpenGL act weirdly?
by Xenofur
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |