projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28e400c
)
OpenGL context is not made current on Win32 until fgSetWindow is called.
author
Nigel Stewart
<nigels.com@gmail.com>
Tue, 30 Dec 2003 02:01:53 +0000
(
02:01
+0000)
committer
Nigel Stewart
<nigels.com@gmail.com>
Tue, 30 Dec 2003 02:01:53 +0000
(
02:01
+0000)
This resolves severe problems observed in GLUI applications.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@424
7f0cb862
-5218-0410-a997-
914c9d46530a
src/freeglut_window.c
patch
|
blob
|
history
diff --git
a/src/freeglut_window.c
b/src/freeglut_window.c
index
32a0aba
..
c92fbcb
100644
(file)
--- a/
src/freeglut_window.c
+++ b/
src/freeglut_window.c
@@
-530,6
+530,8
@@
void fgOpenWindow( SFG_Window* window, const char* title,
#endif
+ fgSetWindow( window );
+
window->Window.DoubleBuffered =
( fgState.DisplayMode & GLUT_DOUBLE ) ? 1 : 0;
@@
-538,7
+540,6
@@
void fgOpenWindow( SFG_Window* window, const char* title,
glDrawBuffer ( GL_FRONT );
glReadBuffer ( GL_FRONT );
}
- fgSetWindow( window );
}
/*