summaryrefslogtreecommitdiff
path: root/src/Fl_Gl_Window.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2009-06-30 13:38:45 +0000
committerMatthias Melcher <fltk@matthiasm.com>2009-06-30 13:38:45 +0000
commitf1473b972fd83442b186d9e63d6c3ca92ae80a7c (patch)
tree9b0c366195a88ed771549969c99abad8e0efc9a3 /src/Fl_Gl_Window.cxx
parent7e7a74203a4e5bbbba2fcc8879311732b75cf221 (diff)
Fixed OpenGL shared context handling (STR #2135)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6806 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Gl_Window.cxx')
-rw-r--r--src/Fl_Gl_Window.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx
index e8081e3e3..ae84f38de 100644
--- a/src/Fl_Gl_Window.cxx
+++ b/src/Fl_Gl_Window.cxx
@@ -181,8 +181,8 @@ void Fl_Gl_Window::make_current() {
xywh[2] = w();
xywh[3] = h();
- aglEnable(context_, AGL_BUFFER_RECT);
aglSetInteger(context_, AGL_BUFFER_RECT, xywh);
+ aglEnable(context_, AGL_BUFFER_RECT);
// printf("make_current: xywh=[%d %d %d %d]\n", xywh[0], xywh[1], xywh[2], xywh[3]);
#endif // __APPLE__