We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbf81b6 commit 69f6b76Copy full SHA for 69f6b76
src/main/java/net/vulkanmod/render/engine/VkGpuTexture.java
@@ -134,7 +134,7 @@ public static TextureFormat textureFormat(int format) {
134
case VK10.VK_FORMAT_R8G8B8A8_UNORM, VK10.VK_FORMAT_B8G8R8A8_UNORM -> TextureFormat.RGBA8;
135
case VK10.VK_FORMAT_R8_UNORM -> TextureFormat.RED8;
136
case VK10.VK_FORMAT_D32_SFLOAT -> TextureFormat.DEPTH32;
137
- default -> throw new IllegalStateException("Unexpected value: " + format);
+ default -> null;
138
};
139
}
140
0 commit comments