projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dceeb2
)
mesa: add missing _glthread_INIT_MUTEX in _mesa_new_framebuffer()
author
Keith Whitwell
<keithw@vmware.com>
Thu, 12 Mar 2009 10:09:51 +0000
(10:09 +0000)
committer
Keith Whitwell
<keithw@vmware.com>
Thu, 12 Mar 2009 10:09:51 +0000
(10:09 +0000)
src/mesa/main/framebuffer.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/framebuffer.c
b/src/mesa/main/framebuffer.c
index b69b92a9654c33cbf78356d3fdc237e082a0a39a..5a13c88a7ab473f1db58657fc2c067dc4ade842f 100644
(file)
--- 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;
}