diff options
author | Brian Paul <[email protected]> | 2000-11-17 21:01:25 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-11-17 21:01:25 +0000 |
commit | 5a9026c65d260dc185e072163999f5d810015108 (patch) | |
tree | 250630676f5a7493292cb378def17f3105f046c7 /src/mesa/drivers/svga/svgamesa.c | |
parent | 9e83e8c790d8b612a7256c630f6ff7e063faaccb (diff) |
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/svgamesa.c')
-rw-r--r-- | src/mesa/drivers/svga/svgamesa.c | 7 |
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, |