mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-22 05:12:16 +00:00
GLSL Downgrading (#1348)
This commit is contained in:
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("\\.");
|
||||
|
||||
Reference in new issue
Block a user