mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-15 02:38:28 +02:00
mesa: add missing _glthread_INIT_MUTEX in _mesa_new_framebuffer()
(cherry picked from master, commit 81569c2f69)
This commit is contained in:
parent
45c4b4dfbd
commit
ca87e5a7bd
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue