thatcosmonaut / FNA3D

FNA3D - 3D Graphics Library for FNA
http://fna-xna.github.io/
Other
4 stars 2 forks source link

Add mutex to ensure command buffer thread safety #50

Closed TheSpydog closed 4 years ago

TheSpydog commented 4 years ago

Added SDL_LockMutex / SDL_UnlockMutex pairs to every reference to commandBuffers so that non-dispatchable handles don't get shared across threads.