This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Don't create GL objects in the tile worker thread #926
Comments
Hmm, easiest way is it look at the attach/detach functions since any GL calls in a thread without a GL context bound will throw and exception. |
FWIW, I don't think we're currently doing this, but we should do a proper review to avoid any undefined effects later on. |
Another trick would be to add a thread ID check to the GL function error check wrappers. |
Creation of GL objects now requires a |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We should check that we're not creating any GL objects or calling any GL functions in general in anything but the Map thread.
The text was updated successfully, but these errors were encountered: