summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-03-12 10:09:51 +0000
committerKeith Whitwell <[email protected]>2009-03-12 10:09:51 +0000
commit81569c2f697586daab01486ec1da28f0a03b5c6a (patch)
tree796c0a611ecd262da466a7dbaf4fbd23ef8454b0 /src/mesa/main
parent6dceeb2eb804d708639d68a13a924d65f366458a (diff)
mesa: add missing _glthread_INIT_MUTEX in _mesa_new_framebuffer()
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/framebuffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c
index b69b92a9654..5a13c88a7ab 100644
--- a/src/mesa/main/framebuffer.c
+++ b/src/mesa/main/framebuffer.c
@@ -116,6 +116,7 @@ _mesa_new_framebuffer(GLcontext *ctx, GLuint name)
fb->ColorReadBuffer = GL_COLOR_ATTACHMENT0_EXT;
fb->_ColorReadBufferIndex = BUFFER_COLOR0;
fb->Delete = _mesa_destroy_framebuffer;
+ _glthread_INIT_MUTEX(fb->Mutex);
}
return fb;
}