From: Keith Whitwell Date: Thu, 12 Mar 2009 10:09:51 +0000 (+0000) Subject: mesa: add missing _glthread_INIT_MUTEX in _mesa_new_framebuffer() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=81569c2f697586daab01486ec1da28f0a03b5c6a;p=mesa.git mesa: add missing _glthread_INIT_MUTEX in _mesa_new_framebuffer() --- 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; }