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/beos/GLView.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/mesa/drivers/beos') diff --git a/src/mesa/drivers/beos/GLView.cpp b/src/mesa/drivers/beos/GLView.cpp index 44e51a58db..56c1b7773b 100644 --- a/src/mesa/drivers/beos/GLView.cpp +++ b/src/mesa/drivers/beos/GLView.cpp @@ -1,4 +1,4 @@ -/* $Id: GLView.cpp,v 1.4 2000/11/14 17:51:15 brianp Exp $ */ +/* $Id: GLView.cpp,v 1.5 2000/11/17 21:01:26 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -27,6 +27,11 @@ /* * $Log: GLView.cpp,v $ + * Revision 1.5 2000/11/17 21:01:26 brianp + * 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. + * * Revision 1.4 2000/11/14 17:51:15 brianp * more Driver.Color, Driver.Index updates * @@ -71,6 +76,7 @@ #include #include #include "../src/context.h" +#include "extensions.h" // BeOS component ordering for B_RGBA32 bitmap format @@ -1037,6 +1043,8 @@ BGLView::BGLView(BRect rect, char *name, const GLboolean direct = GL_TRUE; GLcontext *ctx = _mesa_create_context( visual, NULL, aux, direct ); + _mesa_enable_sw_extensions(ctx); + aux->Init(this, ctx, visual, buffer ); // Hook aux data into BGLView object -- cgit v1.2.3