aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/neodymium/util/OFUtil.java
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2023-11-24 05:02:20 +0100
committermakamys <makamys@outlook.com>2023-11-24 07:36:15 +0100
commitad3e310f2aa1a75b066d0959e943ea5e1c60a49e (patch)
tree7f09645695683801706ca34e82890a9eddeeeda6 /src/main/java/makamys/neodymium/util/OFUtil.java
parent76261b9eed25cf9719fecba7fbad4281b9ce6567 (diff)
downloadNeodymium-ad3e310f2aa1a75b066d0959e943ea5e1c60a49e.tar.gz
Neodymium-ad3e310f2aa1a75b066d0959e943ea5e1c60a49e.tar.bz2
Neodymium-ad3e310f2aa1a75b066d0959e943ea5e1c60a49e.zip
Only check if fog is enabled once per frame
GL calls were being made every time `shouldRenderMesh` was called, oops. This could cause worse performance with Nd than without it if `renderFog` is set to `auto` (added in 0.1.5)
Diffstat (limited to 'src/main/java/makamys/neodymium/util/OFUtil.java')
0 files changed, 0 insertions, 0 deletions