summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri/drm
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-05-21 20:37:23 +0100
committerJakob Bornecrantz <[email protected]>2010-05-21 21:25:07 +0100
commita93f9f343a64ce91587af66761399f9d4c180015 (patch)
tree02fe536058d72077e38534e9388898cccac4f416 /src/gallium/state_trackers/dri/drm
parent5f66363f8ed26d6f3fc8fcccde804fe1fea1bbaa (diff)
gallium: Fix invalidate framebuffer with old libGL libraries
Diffstat (limited to 'src/gallium/state_trackers/dri/drm')
-rw-r--r--src/gallium/state_trackers/dri/drm/dri2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c b/src/gallium/state_trackers/dri/drm/dri2.c
index e1216f14c0e..6c022f4bbf3 100644
--- a/src/gallium/state_trackers/dri/drm/dri2.c
+++ b/src/gallium/state_trackers/dri/drm/dri2.c
@@ -526,6 +526,7 @@ dri2_init_screen(__DRIscreen * sPriv)
goto fail;
screen->auto_fake_front = dri_with_format(sPriv);
+ screen->broken_invalidate = !sPriv->dri2.useInvalidate;
return configs;
fail: