summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2007-08-15 18:28:50 +1000
committerDave Airlie <airlied@linux.ie>2007-08-16 18:27:35 +1000
commitb3ba121ed546e45d4840d57b4293f1d98f02509d (patch)
tree39d19d8a1e0713fc5e8ac5d8965501cf03ccd032
parent69ea37ebf72b92d842aa80dfa3578e328c7ceaa3 (diff)
intel: don't setup texOffsetStart unless using EXA2.1
-rw-r--r--src/i830_dri.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_dri.c b/src/i830_dri.c
index ca1190cf..0febb6c3 100644
--- a/src/i830_dri.c
+++ b/src/i830_dri.c
@@ -602,6 +602,7 @@ I830DRIScreenInit(ScreenPtr pScreen)
#endif
#if DRIINFO_MAJOR_VERSION > 5 || \
(DRIINFO_MAJOR_VERSION == 5 && DRIINFO_MINOR_VERSION >= 3)
+ if (pI830->useEXA)
pDRIInfo->texOffsetStart = I830TexOffsetStart;
#endif