thread ccglwindow error
Posted: Sat Mar 11, 2017 8:55 am
Hello:
in the version 2.6, ccglwindow has macro THREADED_GL_WIDGET, it likes Threaded GL rendering, but when i run it, it errored at "setContext(glContext) " in "initialize()" like follow:
ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread c0a528. Receiver '' (of type 'CCGLWindow') was created in thread c76850"
how can i use the thread to render?
thank you!
in the version 2.6, ccglwindow has macro THREADED_GL_WIDGET, it likes Threaded GL rendering, but when i run it, it errored at "setContext(glContext) " in "initialize()" like follow:
ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread c0a528. Receiver '' (of type 'CCGLWindow') was created in thread c76850"
how can i use the thread to render?
thank you!