summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/svga/svgamesa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/svga/svgamesa.c')
-rw-r--r--src/mesa/drivers/svga/svgamesa.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/drivers/svga/svgamesa.c b/src/mesa/drivers/svga/svgamesa.c
index 5163e08ece6..4a6c34b4f0c 100644
--- a/src/mesa/drivers/svga/svgamesa.c
+++ b/src/mesa/drivers/svga/svgamesa.c
@@ -1,4 +1,4 @@
-/* $Id: svgamesa.c,v 1.8 2000/11/16 21:05:39 keithw Exp $ */
+/* $Id: svgamesa.c,v 1.9 2000/11/17 21:01:44 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -39,12 +39,13 @@
#else
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <vga.h>
#include "GL/svgamesa.h"
#include "context.h"
+#include "extensions.h"
#include "matrix.h"
#include "types.h"
-#include <string.h>
#endif
#include "svgapix.h"
@@ -418,6 +419,8 @@ SVGAMesaContext SVGAMesaCreateContext( GLboolean doubleBuffer )
NULL, /* share list context */
(void *) ctx, GL_TRUE );
+ _mesa_enable_sw_extensions(ctx->gl_ctx);
+
ctx->gl_buffer = _mesa_create_framebuffer( ctx->gl_vis,
ctx->gl_vis->DepthBits > 0,
ctx->gl_vis->StencilBits > 0,