summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-10-16 15:48:46 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-10-16 15:48:46 +0200
commit3feefeeb35c73ba6a8e0d81506891988bfcda5ef (patch)
tree2295295fba5b360632a7e54fae240e35d955fa66 /src/mesa
parent70eb456a7626b7315e787f6019a405db359e0b5e (diff)
i915: Make sure extensions that require TTM actually work.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i915/intel_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c
index 8c4af6eaf5..8be5d910a0 100644
--- a/src/mesa/drivers/dri/i915/intel_screen.c
+++ b/src/mesa/drivers/dri/i915/intel_screen.c
@@ -67,6 +67,7 @@ PUBLIC const char __driConfigOptions[] =
#endif /*USE_NEW_INTERFACE */
extern const struct dri_extension card_extensions[];
+ extern const struct dri_extension ttm_extensions[];
/**
* Map all the memory regions described by the screen.
@@ -916,6 +917,7 @@ PUBLIC __GLcontextModes *__driDriverInitScreen(__DRIscreenPrivate *psp)
* Hello chicken. Hello egg. How are you two today?
*/
driInitExtensions(NULL, card_extensions, GL_FALSE);
+ driInitExtensions(NULL, ttm_extensions, GL_FALSE);
if (!intelInitDriver(psp))
return NULL;