Index: samples/simplegl/web/gl_driver.dart |
=================================================================== |
--- samples/simplegl/web/gl_driver.dart (revision 16976) |
+++ samples/simplegl/web/gl_driver.dart (working copy) |
@@ -18,8 +18,7 @@ |
gl = canvas.getContext('experimental-webgl'); |
// The first 'setup' entry point is called once. |
- setup(); |
- resize(canvas.width, canvas.height); |
+ setup(canvas.width, canvas.height); |
// The second 'render' entry point is called each time the canvas should |
// be re-drawn. |