summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/beos
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/beos
parent9e83e8c790d8b612a7256c630f6ff7e063faaccb (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/beos')
-rw-r--r--src/mesa/drivers/beos/GLView.cpp10
1 files changed, 9 insertions, 1 deletions
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 <stdio.h>
#include <GLView.h>
#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