diff options
author | Kristian Høgsberg <[email protected]> | 2010-05-11 10:23:34 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-05-11 10:23:53 -0400 |
commit | db2993faa0211b60efd46016de5d07110cb9777a (patch) | |
tree | 1f58a4a14639ec6310a4be5318749a8602037183 /src/mesa/drivers/dri/common/dri_util.c | |
parent | 4258e3a2e1c3278694ed10f7fc544d2154d91a96 (diff) |
intel: Drop viewport hack when we can
Diffstat (limited to 'src/mesa/drivers/dri/common/dri_util.c')
-rw-r--r-- | src/mesa/drivers/dri/common/dri_util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c index 360c5247548..c3d1f2c4542 100644 --- a/src/mesa/drivers/dri/common/dri_util.c +++ b/src/mesa/drivers/dri/common/dri_util.c @@ -736,6 +736,8 @@ setupLoaderExtensions(__DRIscreen *psp, psp->dri2.loader = (__DRIdri2LoaderExtension *) extensions[i]; if (strcmp(extensions[i]->name, __DRI_IMAGE_LOOKUP) == 0) psp->dri2.image = (__DRIimageLookupExtension *) extensions[i]; + if (strcmp(extensions[i]->name, __DRI_USE_INVALIDATE) == 0) + psp->dri2.useInvalidate = (__DRIuseInvalidateExtension *) extensions[i]; } } |