GLSL Downgrading (#1348)

This commit is contained in:
Jason Mitchell authored and GitHub committed 2026-01-31 13:23:02 -08:00
1 parent dd970b4c6a
commit 41eafbd151
9 files changed
+481 -101

No files matched your search

@@ -321,7 +321,8 @@ public class ShaderProperties {
if (pass.contains(".")) {
if (!RenderSystem.supportsBufferBlending()) {
throw new RuntimeException("Buffer blending is not supported on this platform, however it was attempted to be used!");
Iris.logger.warn("Per-buffer blending directive '{}' ignored - buffer blending requires OpenGL 4.0 or GL_ARB_draw_buffers_blend", key);
return;
}
final String[] parts = pass.split("\\.");