From: Michel Dänzer Date: Tue, 16 Oct 2007 13:48:46 +0000 (+0200) Subject: i915: Make sure extensions that require TTM actually work. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3feefeeb35c73ba6a8e0d81506891988bfcda5ef;p=mesa.git i915: Make sure extensions that require TTM actually work. --- diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c index 8c4af6eaf59..8be5d910a0b 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;