summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/svga
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-11-17 21:01:25 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-11-17 21:01:25 +0000
commit5a9026c65d260dc185e072163999f5d810015108 (patch)
tree250630676f5a7493292cb378def17f3105f046c7 /src/mesa/drivers/svga
parent9e83e8c790d8b612a7256c630f6ff7e063faaccb (diff)
downloadmesa-5a9026c65d260dc185e072163999f5d810015108.tar.gz
Minor header file changes to silence warnings.
Added _mesa_enable_sw_extensions(), called by software-only drivers to enable all s/w-supported GL extensions.
Diffstat (limited to 'src/mesa/drivers/svga')
-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,