From 07317012369c7b2662a8357fa4ea15453c4e277b Mon Sep 17 00:00:00 2001 From: Vladimir Vukicevic Date: Wed, 1 Sep 2010 08:54:21 -0600 Subject: mesa: initialize dummy framebuffer and renderbuffer mutexes See fd.o bug 29909. Signed-off-by: Brian Paul --- src/mesa/main/fbobject.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; } -- cgit v1.2.3