mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 05:03:40 +00:00
fix(jui): switch to normal Lighting::turnOn()
This commit is contained in:
parent
3c3a5759b8
commit
658d72a89e
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue