mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-19 03:49:22 +00:00
Fix crash on windows (#1766)
This commit is contained in:
1 parent
fa91b70528
commit
9c1b6c75ff
8 files changed
+50
-8
No files matched your search
@@ -1560,6 +1560,11 @@ public class DeferredWorldRenderingPipeline implements WorldRenderingPipeline, R
|
||||
|
||||
@Override
|
||||
public void beginLevelRendering() {
|
||||
final Framebuffer mainFb = Minecraft.getMinecraft().getFramebuffer();
|
||||
if (mainFb == null || mainFb.framebufferWidth < 16 || mainFb.framebufferHeight < 16) {
|
||||
return;
|
||||
}
|
||||
|
||||
isRenderingFullScreenPass = false;
|
||||
isRenderingWorld = true;
|
||||
isBeforeTranslucent = true;
|
||||
|
||||
Reference in new issue
Block a user