projects
/
gltest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
08f1ed0
)
Use glFinish instead of glFlush
author
Ralf Jung
<post@ralfj.de>
Tue, 9 Apr 2013 20:29:12 +0000
(22:29 +0200)
committer
Ralf Jung
<post@ralfj.de>
Tue, 9 Apr 2013 20:29:12 +0000
(22:29 +0200)
thanks to Thomas Lübking for the hint
gltest.cpp
patch
|
blob
|
history
diff --git
a/gltest.cpp
b/gltest.cpp
index feb794fcc08948f3d386f61e21200c073a6d2003..d8768a77dea6d8dd9c9691b790233c26383cf8e0 100644
(file)
--- a/
gltest.cpp
+++ b/
gltest.cpp
@@
-185,7
+185,7
@@
protected:
}
//////////////////////////////////////////////
profilerTick(StatePostRender);
}
//////////////////////////////////////////////
profilerTick(StatePostRender);
- glF
lu
sh();
+ glF
ini
sh();
++framect;
//////////////////////////////////////////////
profilerTick(StateOutsideRender);
++framect;
//////////////////////////////////////////////
profilerTick(StateOutsideRender);