mesa: add missing _glthread_INIT_MUTEX in _mesa_new_framebuffer()
authorKeith Whitwell <keithw@vmware.com>
Thu, 12 Mar 2009 10:09:51 +0000 (10:09 +0000)
committerKeith Whitwell <keithw@vmware.com>
Thu, 12 Mar 2009 10:09:51 +0000 (10:09 +0000)
src/mesa/main/framebuffer.c

index b69b92a9654c33cbf78356d3fdc237e082a0a39a..5a13c88a7ab473f1db58657fc2c067dc4ade842f 100644 (file)
@@ -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;
 }