mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-11 02:44:20 +00:00
fix(jui): switch to normal Lighting::turnOn()
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user