diff --git a/src/play_clj/core_graphics.clj b/src/play_clj/core_graphics.clj index 84bc03c..0bc1ad2 100644 --- a/src/play_clj/core_graphics.clj +++ b/src/play_clj/core_graphics.clj @@ -2,8 +2,6 @@ (defmacro pixmap "Returns a [Pixmap](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/Pixmap.html). -When no longer needed, you must call `(pixmap! object :dispose)` to free it from -memory. (pixmap \"image.png\")" [& args] diff --git a/src/play_clj/core_utils.clj b/src/play_clj/core_utils.clj index 513acbe..0d2c529 100644 --- a/src/play_clj/core_utils.clj +++ b/src/play_clj/core_utils.clj @@ -9,8 +9,7 @@ (defn screenshot! "Captures a screenshot and either returns it as a `pixmap` or saves it to the -specified path. Note that when a `pixmap` is no longer needed, you must call -`(pixmap! object :dispose)` to clear it from memory. +specified path. (screenshot!) (screenshot! \"out.png\")