summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texobj.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-09-12 21:07:40 +0000
committerBrian Paul <[email protected]>2000-09-12 21:07:40 +0000
commite4b684ce49188f906ff032e2df7675257143ec21 (patch)
treeae1f30464a354bc084faf69e14c5b79ff42ad129 /src/mesa/main/texobj.c
parentd49b34a233628a476b87dd2e2609405d76ac8866 (diff)
init mutex
Diffstat (limited to 'src/mesa/main/texobj.c')
-rw-r--r--src/mesa/main/texobj.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index e06f8cd277c..a9248a78f40 100644
--- a/src/mesa/main/texobj.c
+++ b/src/mesa/main/texobj.c
@@ -1,4 +1,4 @@
-/* $Id: texobj.c,v 1.26 2000/08/03 14:03:17 brianp Exp $ */
+/* $Id: texobj.c,v 1.27 2000/09/12 21:07:41 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -63,6 +63,7 @@ gl_alloc_texture_object( struct gl_shared_state *shared, GLuint name,
if (obj) {
/* init the non-zero fields */
+ _glthread_INIT_MUTEX(obj->Mutex);
obj->RefCount = 1;
obj->Name = name;
obj->Dimensions = dimensions;