From ca87e5a7bd07161ca9215fa047181677c7214b0a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 12 Mar 2009 08:12:54 -0600 Subject: [PATCH] mesa: add missing _glthread_INIT_MUTEX in _mesa_new_framebuffer() (cherry picked from master, commit 81569c2f697586daab01486ec1da28f0a03b5c6a) --- src/mesa/main/framebuffer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c index af78363ad3a..7ede5bcb6d2 100644 --- a/src/mesa/main/framebuffer.c +++ b/src/mesa/main/framebuffer.c @@ -115,6 +115,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; }