diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-02-03 19:57:11 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-02-03 19:57:11 -0800 |
commit | 1cb7cf18b704920eeead32b3ea681780c3aad05e (patch) | |
tree | 26cc25eedf08c638d668bbda791d04a29db26ad1 | |
parent | fe0255186c55dbda4510e0714a891391fe20934b (diff) |
stop gles test from rendering after a while, to not eat up CPU until it is manually stopped
-rw-r--r-- | tests/hello_world_gles_shell.html | 1 |
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(); |