mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
mesa: add missing _glthread_INIT_MUTEX in _mesa_new_framebuffer()
This commit is contained in:
parent
6dceeb2eb8
commit
81569c2f69
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue