diff options
author | Ben Skeggs <[email protected]> | 2010-01-11 11:41:47 +1000 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2010-01-19 17:06:22 +0100 |
commit | 116a02be2264807dafb5fdfd4e3c913bb728c11f (patch) | |
tree | d432ab0a3d064d2cac49ecd2ec2cc52f8d8c1abf /src/gallium/state_trackers/dri/dri_screen.c | |
parent | e88294328cb71dc32941556da5bd4ed40e8b95f1 (diff) |
st/dri: update dri2 drawables when viewport is changed
Fixes gnome-shell on nouveau, as well as window resize with various
other applications.
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/dri/dri_screen.c')
-rw-r--r-- | src/gallium/state_trackers/dri/dri_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/dri/dri_screen.c b/src/gallium/state_trackers/dri/dri_screen.c index d95c62745e6..25c392e8494 100644 --- a/src/gallium/state_trackers/dri/dri_screen.c +++ b/src/gallium/state_trackers/dri/dri_screen.c @@ -310,6 +310,7 @@ dri_init_screen2(__DRIscreenPrivate * sPriv) } /* We need to hook in here */ + screen->pipe_screen->update_buffer = dri_update_buffer; screen->pipe_screen->flush_frontbuffer = dri_flush_frontbuffer; driParseOptionInfo(&screen->optionCache, |