fix(jui): switch to normal Lighting::turnOn()

This commit is contained in:
Sally Knight 2026-04-03 04:17:09 +03:00
parent 3c3a5759b8
commit 658d72a89e
4 changed files with 4 additions and 4 deletions

View file

@ -702,7 +702,7 @@ void Gui::render(float a, bool mouseFree, int xMouse, int yMouse) {
glEnable(GL_RESCALE_NORMAL);
Lighting::turnOnGui();
Lighting::turnOn();
int x, y;

View file

@ -56,7 +56,7 @@ void AbstractContainerScreen::render(int xm, int ym, float a) {
glColor4f(1, 1, 1, 1);
glEnable(GL_RESCALE_NORMAL);
Lighting::turnOnGui();
Lighting::turnOn();
Slot* hoveredSlot = nullptr;

View file

@ -572,7 +572,7 @@ void CreativeInventoryScreen::renderTab(int tab) {
y += 8 + (tabFirstRow ? 1 : -1);
glEnable(GL_LIGHTING);
glEnable(GL_RESCALE_NORMAL);
Lighting::turnOnGui();
Lighting::turnOn();
itemRenderer->renderGuiItem(font, minecraft->textures, tabIcons[tab], x, y);
itemRenderer->renderGuiItemDecorations(font, minecraft->textures,
tabIcons[tab], x, y);

View file

@ -111,7 +111,7 @@ void MerchantScreen::render(int xm, int ym, float a) {
glPushMatrix();
glTranslatef((float)xo, (float)yo, 0.0f);
Lighting::turnOnGui();
Lighting::turnOn();
glEnable(GL_RESCALE_NORMAL);
glEnable(GL_LIGHTING);