fixed ByteBuffer management

this should be (.position 0) to ensure the buffer is at the beginning
This commit is contained in:
anthonyurena
2014-04-08 14:05:58 -04:00
parent aa0ad6df4c
commit 924a5425d1

View File

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