add tex.tick(). Thanks leetom!

This commit is contained in:
cola98765
2021-12-10 17:27:09 +01:00
parent 3fd647be41
commit 4da1382246
@@ -175,6 +175,7 @@ public class MinecraftRenderWrapper implements IMinecraftRenderWrapper
public int[] getLightmapPixels()
{
LightTexture tex = GAME_RENDERER.lightTexture();
tex.tick(); // This call makes no sense, but it fixes pause menu flicker bug
NativeImage lightMapPixels = tex.lightPixels;
LightMapWrapper lightMap = new LightMapWrapper(lightMapPixels);