i915: Fix extentions not being set
authorJakob Bornecrantz <jakob@tungstengraphics.com>
Fri, 30 May 2008 11:30:51 +0000 (13:30 +0200)
committerJakob Bornecrantz <jakob@tungstengraphics.com>
Fri, 30 May 2008 11:42:17 +0000 (13:42 +0200)
src/gallium/winsys/dri/intel/intel_context.c

index cc2fc11c5e705c7f42af9207490696d889acd203..6a0c3818490e2d9c29e9145c62b4d3eb49983c5f 100644 (file)
@@ -35,6 +35,7 @@
 #include "intel_batchbuffer.h"
 
 #include "state_tracker/st_public.h"
+#include "state_tracker/st_context.h"
 #include "pipe/p_defines.h"
 #include "pipe/p_context.h"
 
@@ -218,6 +219,8 @@ intelCreateContext(const __GLcontextModes * visual,
 
    intel->st = st_create_context(pipe, visual, st_share);
 
+   driInitExtensions( intel->st->ctx, card_extensions, GL_TRUE );
+
    return GL_TRUE;
 }