aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/hello_world_gles_shell.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/hello_world_gles_shell.html b/tests/hello_world_gles_shell.html
index ad2c5a87..7f0b2013 100644
--- a/tests/hello_world_gles_shell.html
+++ b/tests/hello_world_gles_shell.html
@@ -39,6 +39,7 @@
var xhr = new XMLHttpRequest();
xhr.open('GET', 'http://localhost:8888/report_gl_result?' + result, true);
xhr.send();
+ setTimeout(function() { _glutDisplayFunc = function(){} }, 2000); // Stop rendering after a while
}
function doTest() {
var firstImage = Module.canvas.toDataURL();