Bugfix: Pause menu flicker issue

This commit is contained in:
tom lee
2021-12-10 17:29:16 +08:00
parent 8df7e1762a
commit dc785b4fe1
@@ -169,6 +169,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);