FIX: Grass color and egg red rectangle

This commit is contained in:
2026-07-21 17:28:42 +02:00
parent 5ef00eee9f
commit 7104ba93ae
2 changed files with 6 additions and 6 deletions

View File

@@ -189,9 +189,9 @@ void ItemRenderer::renderGuiItem(Font* font, Textures* textures, const ItemInsta
// it we're batching for saving the
// buffer, this will fail miserably
t.endOverrideAndDraw();
glDisable2(GL_TEXTURE_2D);
fillRect(t, x, y, w, h, 0xff0000);
glEnable2(GL_TEXTURE_2D);
// glDisable2(GL_TEXTURE_2D);
// fillRect(t, x, y, w, h, 0xff0000);
// glEnable2(GL_TEXTURE_2D);
renderGuiItemCorrect(font, textures, item, int(x), int(y));
t.beginOverride();
}