Improve console context, add support in 'Hello World'

This commit is contained in:
Joshua Granick
2015-01-20 10:51:12 -08:00
parent db7f1f9f4f
commit 081dd94565
2 changed files with 70 additions and 25 deletions

View File

@@ -39,7 +39,12 @@ class Main extends Application {
gl.clearColor (0.75, 1, 0, 1);
gl.clear (gl.COLOR_BUFFER_BIT);
case CONSOLE (context):
context.clearColor (0.75, 1, 0, 1);
context.clear ();
default:
}