Use defonce and add other fixes

This commit is contained in:
oakes
2014-01-01 03:19:20 -05:00
parent 1f368300a3
commit c8b539d513
2 changed files with 5 additions and 5 deletions

View File

@@ -7,7 +7,7 @@
(clear! 0 0 0 0))
([r g b a]
(doto (Gdx/gl)
(.glClearColor r g b a)
(.glClearColor (float r) (float g) (float b) (float a))
(.glClear GL20/GL_COLOR_BUFFER_BIT))))
(defn game*