Fix an issue where a (cached) shader program could be used from multiple
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 5 Nov 2016 10:32:56 +0000 (11:32 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 5 Nov 2016 10:43:20 +0000 (11:43 +0100)
commitf216b7bef5a968c89f6fc78e83cc26a91e504a8a
tree4fdd64ab388bd305a6b135267830474deabee21f
parent4f8b89618d6d09b4df811c4e2d7dcfa20815dcb3
Fix an issue where a (cached) shader program could be used from multiple
threads at a time.

This isn't allowed, since uniforms belong to the program, not to the
context. Found by running Helgrind over Nageru.
effect_chain.cpp
effect_chain_test.cpp
resource_pool.cpp
resource_pool.h
version.h