summaryrefslogtreecommitdiff
path: root/src/mesa/main/framebuffer.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-03-12 10:09:51 +0000
committerKeith Whitwell <keithw@vmware.com>2009-03-12 10:09:51 +0000
commit81569c2f697586daab01486ec1da28f0a03b5c6a (patch)
tree796c0a611ecd262da466a7dbaf4fbd23ef8454b0 /src/mesa/main/framebuffer.c
parent6dceeb2eb804d708639d68a13a924d65f366458a (diff)
mesa: add missing _glthread_INIT_MUTEX in _mesa_new_framebuffer()
Diffstat (limited to 'src/mesa/main/framebuffer.c')
-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 b69b92a965..5a13c88a7a 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;
}