projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90b7a4c
)
osmesa: pass context to _mesa_update_framebuffer_visual()
author
Brian Paul
<brianp@vmware.com>
Tue, 4 Jan 2011 14:13:40 +0000
(07:13 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 4 Jan 2011 14:13:52 +0000
(07:13 -0700)
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32814
src/mesa/drivers/osmesa/osmesa.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/osmesa/osmesa.c
b/src/mesa/drivers/osmesa/osmesa.c
index 10ba6b793144d984e1008f5d799609260228aa9c..e1f0c69bacfb10446ae3292325a6f9ec4a757920 100644
(file)
--- 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);