projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9b0487
)
xlib: fix single buffer window resize bug
author
Brian Paul
<brianp@vmware.com>
Mon, 24 Aug 2009 18:58:47 +0000
(12:58 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 24 Aug 2009 18:58:49 +0000
(12:58 -0600)
When a single-buffered window was resized the new window size was never
detected. This fix that, but there's still a bug which causes window
contents corruption for certain window sizes...
src/gallium/winsys/xlib/xlib_softpipe.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/xlib/xlib_softpipe.c
b/src/gallium/winsys/xlib/xlib_softpipe.c
index 44b8464518ab7176d4892fcf1ae2eacaf32cbfa4..2a08b8290850e6222694cbf32cae4b3e240f5a01 100644
(file)
--- a/
src/gallium/winsys/xlib/xlib_softpipe.c
+++ b/
src/gallium/winsys/xlib/xlib_softpipe.c
@@
-303,6
+303,7
@@
xm_flush_frontbuffer(struct pipe_winsys *pws,
*/
XMesaContext xmctx = (XMesaContext) context_private;
xlib_softpipe_display_surface(xmctx->xm_buffer, surf);
+ xmesa_check_and_update_buffer_size(xmctx, xmctx->xm_buffer);
}