| Index: samples/openglui/src/flashingbox.dart
|
| diff --git a/samples/simplegl/web/flashingbox.dart b/samples/openglui/src/flashingbox.dart
|
| similarity index 92%
|
| rename from samples/simplegl/web/flashingbox.dart
|
| rename to samples/openglui/src/flashingbox.dart
|
| index 40f7c3d8c3c28fb7dd4503157240c0d8fbbdc774..5915cc464fc865048ee3f0b9d48ba6aea2844b43 100644
|
| --- a/samples/simplegl/web/flashingbox.dart
|
| +++ b/samples/openglui/src/flashingbox.dart
|
| @@ -16,10 +16,11 @@ num b;
|
| /**
|
| * Invoked on initial startup.
|
| */
|
| -void setup() {
|
| +void setup(int width, int height) {
|
| r = 0;
|
| g = 0;
|
| b = 0;
|
| + resize(width, height);
|
| }
|
|
|
| void resize(int width, int height) {
|
|
|