From e048450251270555c0bc019d06559909a903e59c Mon Sep 17 00:00:00 2001 From: oakes Date: Mon, 6 Jan 2014 03:52:57 -0500 Subject: [PATCH] Fix create-image issue --- src/play_clj/core_2d.clj | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/play_clj/core_2d.clj b/src/play_clj/core_2d.clj index 97a1923..2dda0bf 100644 --- a/src/play_clj/core_2d.clj +++ b/src/play_clj/core_2d.clj @@ -48,10 +48,8 @@ (cond (string? img) (-> ^String img Texture. TextureRegion.) - (isa? img TextureRegion) - (TextureRegion. ^TextureRegion img) :else - img)) + (TextureRegion. ^TextureRegion img))) (defmacro create-image [img & options]