projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed shader route in shapes demo:
[freeglut]
/
src
/
fg_window.c
diff --git
a/src/fg_window.c
b/src/fg_window.c
index
5c431ea
..
9760858
100644
(file)
--- a/
src/fg_window.c
+++ b/
src/fg_window.c
@@
-150,6
+150,8
@@
void fgOpenWindow( SFG_Window* window, const char* title,
window->Window.attribute_v_normal = -1;
fgInitGL2();
+
+ window->State.NeedToInitContext = GL_TRUE;
}
/*