From 5a9026c65d260dc185e072163999f5d810015108 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 17 Nov 2000 21:01:25 +0000 Subject: 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. --- src/mesa/drivers/svga/svgamesa.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/svga') 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 #include +#include #include #include "GL/svgamesa.h" #include "context.h" +#include "extensions.h" #include "matrix.h" #include "types.h" -#include #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, -- cgit v1.2.3