summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2008-05-30 13:30:51 +0200
committerJakob Bornecrantz <[email protected]>2008-05-30 13:42:17 +0200
commit9760ab234951d18c9606e962c6e3ac1f56fc6385 (patch)
treecf6161832f9bcec142d0d5402543efa0898fc77e /src
parentbee79eb9b9ef649585dc507dc756b1e79eb00d2c (diff)
i915: Fix extentions not being set
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/dri/intel/intel_context.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/winsys/dri/intel/intel_context.c b/src/gallium/winsys/dri/intel/intel_context.c
index cc2fc11c5e7..6a0c3818490 100644
--- a/src/gallium/winsys/dri/intel/intel_context.c
+++ b/src/gallium/winsys/dri/intel/intel_context.c
@@ -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;
}