summaryrefslogtreecommitdiff
path: root/src/gl_start.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2015-02-02 13:08:51 +0000
committerManolo Gouy <Manolo>2015-02-02 13:08:51 +0000
commit5017171db80080eeb1404410c9c7086767731675 (patch)
treeb80ed153d367a9691887c0d55119385bcf886c69 /src/gl_start.cxx
parentf8ee30ef746e4d9dcc270b1c435474f0e2007a2b (diff)
Replace gl_xxx() function names by new member functions of the Fl_X class to avoid
collisions with user-defined symbols. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/gl_start.cxx')
-rw-r--r--src/gl_start.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gl_start.cxx b/src/gl_start.cxx
index d9e5107b3..7e2bee25c 100644
--- a/src/gl_start.cxx
+++ b/src/gl_start.cxx
@@ -48,7 +48,6 @@ static Fl_Gl_Choice* gl_choice;
#ifdef __APPLE__
static Fl_Gl_Choice* gl_choice;
-extern void gl_context_update(NSOpenGLContext*);
#endif
Fl_Region XRectangleRegion(int x, int y, int w, int h); // in fl_rect.cxx
@@ -69,7 +68,7 @@ void gl_start() {
}
fl_set_gl_context(Fl_Window::current(), context);
#ifdef __APPLE__
- gl_context_update(context); // supports window resizing
+ Fl_X::GLcontext_update(context); // supports window resizing
#elif !defined(WIN32)
glXWaitX();
#endif