projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93aa0fd
)
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 19:05:20 +0000
(13:05 -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 277e724d2acc107ca88cf6770b13246add318870..67fea023a3bccd8437456faafbc3788c1663ee10 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);
}