diff options
-rw-r--r-- | src/library_glut.js | 2 | ||||
-rw-r--r-- | tests/hello_world_gles.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/library_glut.js b/src/library_glut.js index bbcba7d4..234666ca 100644 --- a/src/library_glut.js +++ b/src/library_glut.js @@ -427,7 +427,7 @@ var LibraryGLUT = { } }, - glutMainLoop__deps: ['$GLUT', 'glutPostRedisplay'], + glutMainLoop__deps: ['$GLUT', 'glutReshapeWindow', 'glutPostRedisplay'], glutMainLoop: function() { window.addEventListener("keydown", GLUT.onKeydown, true); diff --git a/tests/hello_world_gles.c b/tests/hello_world_gles.c index 088b9dae..6f7a4324 100644 --- a/tests/hello_world_gles.c +++ b/tests/hello_world_gles.c @@ -59,6 +59,7 @@ #define GEAR_VERTEX_STRIDE 6 #ifndef HAVE_BUILTIN_SINCOS +#define sincos _sincos static void sincos (double a, double *s, double *c) { |