i915: Make sure extensions that require TTM actually work.
authorMichel Dänzer <michel@tungstengraphics.com>
Tue, 16 Oct 2007 13:48:46 +0000 (15:48 +0200)
committerMichel Dänzer <michel@tungstengraphics.com>
Tue, 16 Oct 2007 13:48:46 +0000 (15:48 +0200)
src/mesa/drivers/dri/i915/intel_screen.c

index 8c4af6eaf5916cfa622dac4998056841973d66f4..8be5d910a0b322fd7cdd793c5562e113c483cc35 100644 (file)
@@ -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;