Merge pull request #12 from anthonyurena/master

fixed ByteBuffer management
This commit is contained in:
Zach Oakes
2014-04-08 14:12:42 -04:00

View File

@@ -21,7 +21,7 @@ specified path.
(doto pixels (doto pixels
(.clear) (.clear)
(.put pixel-data) (.put pixel-data)
(.position)) (.position 0))
pic)) pic))
([path] ([path]
(let [pic (screenshot!) (let [pic (screenshot!)