| Index: samples/simplegl/web/gl.dart
|
| diff --git a/samples/simplegl/web/gl.dart b/samples/simplegl/web/gl.dart
|
| index b6d66c483e93286cf56deb0e9b75951920ab0666..daf22b586c952d0da71d0b3ccae4f3911cde74e9 100644
|
| --- a/samples/simplegl/web/gl.dart
|
| +++ b/samples/simplegl/web/gl.dart
|
| @@ -3,14 +3,13 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| /**
|
| - * A simple GL library prototype that hides the underlying implementation.
|
| + * An HTML-based prototype implementation for GL.
|
| */
|
| -library gl;
|
| +library gl_html;
|
|
|
| -abstract class GlContext {
|
| - int get COLOR_BUFFER_BIT;
|
| - int get DEPTH_BUFFER_BIT;
|
| +import 'dart:html';
|
| +export 'dart:html' show WebGLRenderingContext;
|
| +export 'dart:html' show Float32Array;
|
| +
|
| +WebGLRenderingContext gl;
|
|
|
| - void clearColor(num red, num green, num blue, num alpha);
|
| - void clear(int mask);
|
| -}
|
|
|