From 40a41c28196baf4d302acd6fa5e65b9b541bf4a3 Mon Sep 17 00:00:00 2001 From: Alexandros Frantzis Date: Tue, 4 Jan 2011 12:08:19 +0200 Subject: [PATCH] mesa: Fix _mesa_update_framebuffer_visual() call in osmesa.c. The signature of the _mesa_update_framebuffer_visual() function was changed in revision 059cca92, which broke the build of osmesa.c. --- src/mesa/drivers/osmesa/osmesa.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index 10ba6b7..e1f0c69 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -1356,7 +1356,7 @@ OSMesaMakeCurrent( OSMesaContext osmesa, void *buffer, GLenum type, /* this updates the visual's red/green/blue/alphaBits fields */ - _mesa_update_framebuffer_visual(osmesa->gl_buffer); + _mesa_update_framebuffer_visual(&osmesa->mesa, osmesa->gl_buffer); /* update the framebuffer size */ _mesa_resize_framebuffer(&osmesa->mesa, osmesa->gl_buffer, width, height); -- 1.7.1