We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 476594e commit da26326Copy full SHA for da26326
src/lib/libglut.js
@@ -648,6 +648,7 @@ var LibraryGLUT = {
648
glutMainLoop__proxy: 'sync',
649
glutMainLoop__deps: ['$GLUT', 'glutPostRedisplay'],
650
glutMainLoop: () => {
651
+ // Do an initial resize, since there's no window resize event on startup
652
GLUT.onResize();
653
_glutPostRedisplay();
654
throw 'unwind';
0 commit comments