summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorengelsman <engelsman>2009-06-30 18:48:22 +0000
committerengelsman <engelsman>2009-06-30 18:48:22 +0000
commitdc40b3708a4652b605d3c9e0285202b92c52900f (patch)
tree6aa5ea633c792104a68bf8898320009907947adf
parent0de26b628ec712ad4824c80ddea3344d0aac7652 (diff)
corrected typo in src/Fl_Gl_Choice.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6809 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/Fl_Gl_Choice.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Gl_Choice.cxx b/src/Fl_Gl_Choice.cxx
index a4531c20a..476bb08d8 100644
--- a/src/Fl_Gl_Choice.cxx
+++ b/src/Fl_Gl_Choice.cxx
@@ -264,7 +264,7 @@ static void del_context(GLContext ctx) {
GLContext fl_create_gl_context(XVisualInfo* vis) {
GLContext shared_ctx = 0;
- if (context_list && nContext) shared_context = context_list[0];
+ if (context_list && nContext) shared_ctx = context_list[0];
GLContext context = glXCreateContext(fl_display, vis, shared_ctx, 1);
if (context)
add_context(context);