aboutsummaryrefslogtreecommitdiffstats
path: root/ardor3d-jogl/src
diff options
context:
space:
mode:
authorJulien Gouesse <[email protected]>2015-08-10 21:12:36 +0200
committerJulien Gouesse <[email protected]>2015-08-10 21:12:36 +0200
commit0d5e274ef4a1d3a39796c1fdb47230bd58cc63ef (patch)
tree1ba7850c7acc0d686c135b01ca0e68720311d42f /ardor3d-jogl/src
parentaea95459fc9d792f2e527039da3e1c9ff5f0ded1 (diff)
Fixes the read limit when marking a stream in the JOGL image loader
Diffstat (limited to 'ardor3d-jogl/src')
-rw-r--r--ardor3d-jogl/src/main/java/com/ardor3d/image/util/jogl/JoglImageLoader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ardor3d-jogl/src/main/java/com/ardor3d/image/util/jogl/JoglImageLoader.java b/ardor3d-jogl/src/main/java/com/ardor3d/image/util/jogl/JoglImageLoader.java
index 4e3a6cb..bf3be72 100644
--- a/ardor3d-jogl/src/main/java/com/ardor3d/image/util/jogl/JoglImageLoader.java
+++ b/ardor3d-jogl/src/main/java/com/ardor3d/image/util/jogl/JoglImageLoader.java
@@ -164,7 +164,7 @@ public class JoglImageLoader implements ImageLoader {
* @throws IOException
*/
protected String getFileSuffix(final InputStream is) throws IOException {
- if (is.markSupported() && is.available() >= 16) {
+ if (is.markSupported() && is.available() >= 32) {
is.mark(32);
try {
final byte[] b = new byte[32];