aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/bufferobj.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-03-08 08:31:07 +0000
committermarha <marha@users.sourceforge.net>2011-03-08 08:31:07 +0000
commit62f8e1becaed544f600e167508fe76bc953d647e (patch)
tree175c3d80e16613dbe92a497836bf685d1324803d /mesalib/src/mesa/main/bufferobj.c
parentb1236880df6cbd13760a2adfaff9c22a89501d66 (diff)
parent8c74e7257ed453143c53086f884f6c6ff585379a (diff)
downloadvcxsrv-62f8e1becaed544f600e167508fe76bc953d647e.tar.gz
vcxsrv-62f8e1becaed544f600e167508fe76bc953d647e.tar.bz2
vcxsrv-62f8e1becaed544f600e167508fe76bc953d647e.zip
svn merge ^/branches/released .
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 8b5899918..afb7999de 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,