Fix 1.19 and 1.20 compiling
This commit is contained in:
+5
@@ -139,7 +139,12 @@ public class MixinLevelRenderer
|
||||
if (Config.Client.Advanced.Graphics.AdvancedGraphics.seamlessOverdraw.get())
|
||||
{
|
||||
FloatBuffer modifiedMatrixBuffer = SeamlessOverdraw.overwriteMinecraftNearFarClipPlanes(projectionMatrix, previousPartialTicks);
|
||||
|
||||
#if PRE_MC_1_19_4
|
||||
projectionMatrix.load(modifiedMatrixBuffer);
|
||||
#else
|
||||
projectionMatrix.set(modifiedMatrixBuffer);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user