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 cc2fc11..6a0c381 100644 (file)
@@ -35,6 +35,7 @@
 #include "intel_batchbuffer.h"
 
 #include "state_tracker/st_public.h"
 #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"
 
 #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);
 
 
    intel->st = st_create_context(pipe, visual, st_share);
 
+   driInitExtensions( intel->st->ctx, card_extensions, GL_TRUE );
+
    return GL_TRUE;
 }
 
    return GL_TRUE;
 }