aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/bufferobj.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-03-08 08:20:49 +0000
committermarha <marha@users.sourceforge.net>2011-03-08 08:20:49 +0000
commit8c74e7257ed453143c53086f884f6c6ff585379a (patch)
treef9e595d40a1689b21b1541cfc7595d9146ec2854 /mesalib/src/mesa/main/bufferobj.c
parentd550ff64af08efb189450fa7b7104b3e049b5779 (diff)
downloadvcxsrv-8c74e7257ed453143c53086f884f6c6ff585379a.tar.gz
vcxsrv-8c74e7257ed453143c53086f884f6c6ff585379a.tar.bz2
vcxsrv-8c74e7257ed453143c53086f884f6c6ff585379a.zip
xkeyboard-config mesa git update 8 Mar 2011
Diffstat (limited to 'mesalib/src/mesa/main/bufferobj.c')
-rw-r--r--mesalib/src/mesa/main/bufferobj.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/bufferobj.c b/mesalib/src/mesa/main/bufferobj.c
index 35d92616f..44072fbc5 100644
--- a/mesalib/src/mesa/main/bufferobj.c
+++ b/mesalib/src/mesa/main/bufferobj.c
@@ -558,6 +558,7 @@ void
_mesa_init_buffer_objects( struct gl_context *ctx )
{
memset(&DummyBufferObject, 0, sizeof(DummyBufferObject));
+ _glthread_INIT_MUTEX(DummyBufferObject.Mutex);
DummyBufferObject.RefCount = 1000*1000*1000; /* never delete */
_mesa_reference_buffer_object(ctx, &ctx->Array.ArrayBufferObj,