summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/beos
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-02-08 19:25:04 -0700
committerBrian Paul <brianp@vmware.com>2011-02-08 19:25:04 -0700
commit6f2f449414e51e3b98f85e3fc916a7f3d42a99d4 (patch)
treed790bf5a50dcb01cb2d07f24db5b7f32e9b17e4c /src/mesa/drivers/beos
parent5e4ca1ccc9029fd75bb7676dc128e33d12da9665 (diff)
mesa: remove _mesa_create_context_for_api()
Just add the gl_api parameter to _mesa_create_context().
Diffstat (limited to 'src/mesa/drivers/beos')
-rw-r--r--src/mesa/drivers/beos/GLView.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/beos/GLView.cpp b/src/mesa/drivers/beos/GLView.cpp
index ee3415b3d1..297e6e72d0 100644
--- a/src/mesa/drivers/beos/GLView.cpp
+++ b/src/mesa/drivers/beos/GLView.cpp
@@ -319,7 +319,8 @@ BGLView::BGLView(BRect rect, char *name,
functions.Viewport = md->Viewport;
// create core context
- struct gl_context *ctx = _mesa_create_context(visual, NULL, &functions, md);
+ struct gl_context *ctx = _mesa_create_context(API_OPENGL, visual,
+ NULL, &functions, md);
if (! ctx) {
_mesa_destroy_visual(visual);
delete md;