summaryrefslogtreecommitdiffstats
path: root/make/config/jogl/gl-gl4bc.cfg
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-01-15 18:50:23 +0100
committerSven Gothel <[email protected]>2014-01-15 18:50:23 +0100
commitd0acb35b6568eaf592bb3d5011619eae5c8bc592 (patch)
tree9e9e40458f3c3882b7a778625872dcfe3503282e /make/config/jogl/gl-gl4bc.cfg
parent30bd30d6563041b71f40e4c336e636768ae26f9d (diff)
Bug 942 - Review GLBuffer[State|Size]Tracker: Add synchronized access to shared bufferSizeTracker
Diffstat (limited to 'make/config/jogl/gl-gl4bc.cfg')
-rw-r--r--make/config/jogl/gl-gl4bc.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/config/jogl/gl-gl4bc.cfg b/make/config/jogl/gl-gl4bc.cfg
index c3a392c52..48ecb7378 100644
--- a/make/config/jogl/gl-gl4bc.cfg
+++ b/make/config/jogl/gl-gl4bc.cfg
@@ -59,7 +59,8 @@ Include gl2_es2-CustomJavaCode.cfg
# can only be computed by calling another routine
ManuallyImplement glMapNamedBufferEXT
ForceProcAddressGen glMapNamedBufferEXT
-JavaEpilogue glNamedBufferDataEXT bufferSizeTracker.setDirectStateBufferSize({0}, this, {1});
+JavaPrologue glNamedBufferDataEXT synchronized(bufferSizeTracker) {
+JavaEpilogue glNamedBufferDataEXT bufferSizeTracker.setDirectStateBufferSize({0}, this, {1}); }
# Manuall implement glDebugMessageCallback* using the proc address resolver
ForceProcAddressGen glDebugMessageCallback