diff options
author | Vladimir Vukicevic <[email protected]> | 2010-09-01 08:54:21 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-09-01 08:54:23 -0600 |
commit | 07317012369c7b2662a8357fa4ea15453c4e277b (patch) | |
tree | 10bbfc87c2de18489ce95bf566a9e18a18f66f33 | |
parent | c085cd6917310ab35325f84311258905b5ded66b (diff) |
mesa: initialize dummy framebuffer and renderbuffer mutexes
See fd.o bug 29909.
Signed-off-by: Brian Paul <[email protected]>
-rw-r--r-- | src/mesa/main/fbobject.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 9a84e5a79cf..f80dd859936 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -93,6 +93,8 @@ delete_dummy_framebuffer(struct gl_framebuffer *fb) void _mesa_init_fbobjects(GLcontext *ctx) { + _glthread_INIT_MUTEX(DummyFramebuffer.Mutex); + _glthread_INIT_MUTEX(DummyRenderbuffer.Mutex); DummyFramebuffer.Delete = delete_dummy_framebuffer; DummyRenderbuffer.Delete = delete_dummy_renderbuffer; } |