aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/neodymium/renderer/NeoRenderer.java
diff options
context:
space:
mode:
authorFalsePattern <me@falsepattern.com>2023-12-05 19:48:02 +0100
committermakamys <makamys@outlook.com>2024-01-08 22:49:40 +0100
commit180dee59e103dc94d17a4c4121f7963bc33c3ad6 (patch)
tree8e4316410ca99bb0a4a3daaedf08c317d03e2232 /src/main/java/makamys/neodymium/renderer/NeoRenderer.java
parenta0dcf0ac417cd2c18ad44ae6bda4309c381a0f64 (diff)
downloadNeodymium-180dee59e103dc94d17a4c4121f7963bc33c3ad6.tar.gz
Neodymium-180dee59e103dc94d17a4c4121f7963bc33c3ad6.tar.bz2
Neodymium-180dee59e103dc94d17a4c4121f7963bc33c3ad6.zip
shaders detection
Diffstat (limited to 'src/main/java/makamys/neodymium/renderer/NeoRenderer.java')
-rw-r--r--src/main/java/makamys/neodymium/renderer/NeoRenderer.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/makamys/neodymium/renderer/NeoRenderer.java b/src/main/java/makamys/neodymium/renderer/NeoRenderer.java
index fcd4c67..ff13dd7 100644
--- a/src/main/java/makamys/neodymium/renderer/NeoRenderer.java
+++ b/src/main/java/makamys/neodymium/renderer/NeoRenderer.java
@@ -412,6 +412,8 @@ public class NeoRenderer {
// This means 1 MB of index data per 512 MB of VRAM.
MAX_MESHES = Config.VRAMSize * 128;
+ Compat.updateShadersState();
+
attributes = new AttributeSet();
attributes.addAttribute("POS", 3, 4, GL_FLOAT);
if (Config.shortUV) {