summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/beos
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-02-24 18:49:33 -0800
committerIan Romanick <[email protected]>2010-03-03 12:37:04 -0800
commitfcf438e9e03f6e75bca4a49ad372fe7c4b1abbf8 (patch)
tree97e60edd4183291bd9e255e30a0998564c6a51f4 /src/mesa/drivers/beos
parenta9c1b3caf67f035df83c6a4e38709cfa395f4cc6 (diff)
mesa: Remove support for creating color-index visuals
Remove the rgbMode and indexBits parameters from _mesa_create_visual and _mesa_initialize_visual. These values are now hardcoded to GL_TRUE and 0. Signed-off-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/beos')
-rw-r--r--src/mesa/drivers/beos/GLView.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/beos/GLView.cpp b/src/mesa/drivers/beos/GLView.cpp
index 9e4a7ebe56e..a029f6b200c 100644
--- a/src/mesa/drivers/beos/GLView.cpp
+++ b/src/mesa/drivers/beos/GLView.cpp
@@ -297,11 +297,9 @@ BGLView::BGLView(BRect rect, char *name,
MesaDriver * md = new MesaDriver();
// examine option flags and create gl_context struct
- GLvisual * visual = _mesa_create_visual( rgbFlag,
- dblFlag,
+ GLvisual * visual = _mesa_create_visual( dblFlag,
stereoFlag,
red, green, blue, alpha,
- index,
depth,
stencil,
accum, accum, accum, accum,