mesa: add missing _glthread_INIT_MUTEX in _mesa_new_framebuffer()

This commit is contained in:
Keith Whitwell 2009-03-12 10:09:51 +00:00
parent 6dceeb2eb8
commit 81569c2f69

View 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;
}