From eaa5a15f3958791e743426bfed4bbe2062a46c18 Mon Sep 17 00:00:00 2001 From: shadowislord Date: Sun, 9 Nov 2014 11:54:34 -0500 Subject: [PATCH] Remove use of deprecated image formats (IOS) --- .../main/java/com/jme3/renderer/ios/TextureUtil.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/jme3-ios/src/main/java/com/jme3/renderer/ios/TextureUtil.java b/jme3-ios/src/main/java/com/jme3/renderer/ios/TextureUtil.java index 3f4645147..d11308c2a 100644 --- a/jme3-ios/src/main/java/com/jme3/renderer/ios/TextureUtil.java +++ b/jme3-ios/src/main/java/com/jme3/renderer/ios/TextureUtil.java @@ -281,12 +281,6 @@ public class TextureUtil { public static IosGLImageFormat getImageFormat(Format fmt) throws UnsupportedOperationException { IosGLImageFormat imageFormat = new IosGLImageFormat(); switch (fmt) { - case RGBA16: - case RGB16: - case RGB10: - case Luminance16: - case Luminance16Alpha16: - case Alpha16: case Depth32: case Depth32F: throw new UnsupportedOperationException("The image format '" @@ -325,11 +319,6 @@ public class TextureUtil { imageFormat.dataType = JmeIosGLES.GL_UNSIGNED_SHORT_5_6_5; imageFormat.renderBufferStorageFormat = JmeIosGLES.GL_RGB565; break; - case ARGB4444: - imageFormat.format = JmeIosGLES.GL_RGBA4; - imageFormat.dataType = JmeIosGLES.GL_UNSIGNED_SHORT_4_4_4_4; - imageFormat.renderBufferStorageFormat = JmeIosGLES.GL_RGBA4; - break; case RGB5A1: imageFormat.format = JmeIosGLES.GL_RGBA; imageFormat.dataType = JmeIosGLES.GL_UNSIGNED_SHORT_5_5_5_1;