mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 14:38:50 +00:00
Use correct constructor for 1.21
This commit is contained in:
1 parent
e895b079f8
commit
02974b2ec6
1 file changed
+2
-2
@@ -105,10 +105,10 @@ public abstract class MixinLevelRenderer {
|
||||
|
||||
RenderSystem.assertOnRenderThread();
|
||||
if (this.roundAlphaBuffer == null) {
|
||||
this.roundAlphaBuffer = new TextureTarget(main.width, main.height, false);
|
||||
this.roundAlphaBuffer = new TextureTarget(main.width, main.height, false, Minecraft.ON_OSX);
|
||||
} else if (this.roundAlphaBuffer.width != main.width || this.roundAlphaBuffer.height != main.height) {
|
||||
this.roundAlphaBuffer.destroyBuffers();
|
||||
this.roundAlphaBuffer = new TextureTarget(main.width, main.height, false);
|
||||
this.roundAlphaBuffer = new TextureTarget(main.width, main.height, false, Minecraft.ON_OSX);
|
||||
}
|
||||
|
||||
this.roundAlphaBuffer.bindWrite(true);
|
||||
|
||||
Reference in new issue
Block a user