From 030c823699605fa3049ee44d88fb9ae628274142 Mon Sep 17 00:00:00 2001 From: oakes Date: Tue, 18 Feb 2014 13:57:21 -0500 Subject: [PATCH] Start 0.2.1-SNAPSHOT --- project.clj | 2 +- src/play_clj/core.clj | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/project.clj b/project.clj index 79a583a..21fec6c 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject play-clj "0.2.0" +(defproject play-clj "0.2.1-SNAPSHOT" :description "A LibGDX wrapper for easy cross-platform game development" :url "https://github.com/oakes/play-clj" :license {:name "Public Domain" diff --git a/src/play_clj/core.clj b/src/play_clj/core.clj index 00c31f8..de37cd0 100644 --- a/src/play_clj/core.clj +++ b/src/play_clj/core.clj @@ -6,7 +6,7 @@ [com.badlogic.gdx.audio Sound] [com.badlogic.gdx.assets AssetManager] [com.badlogic.gdx.graphics Camera Color GL20 OrthographicCamera - PerspectiveCamera VertexAttributes$Usage] + PerspectiveCamera Texture VertexAttributes$Usage] [com.badlogic.gdx.graphics.g2d NinePatch ParticleEffect SpriteBatch TextureRegion] [com.badlogic.gdx.graphics.g3d Environment ModelBatch ModelInstance] @@ -91,7 +91,9 @@ bound to a map containing various important values related to the screen" [{:keys [on-create]}] (proxy [Game] [] (create [] - (when on-create (on-create this))))) + (Texture/setEnforcePotImages false) + (when on-create + (on-create this))))) (defmacro defgame "Creates a var for the symbol `n` bound to a [Game](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/Game.html)