fix: put jui-specific texture usage behind ifdefs

This commit is contained in:
Sally Knight
2026-03-25 23:38:09 +03:00
committed by Tropical
parent 65ff6a97f0
commit 08a87c432a
4 changed files with 30 additions and 27 deletions

View File

@@ -158,6 +158,7 @@ void TitleScreen::buttonClicked(Button* button) {
// uses the TU panorama instead of JE panorama and as such a different rendering
// method
void TitleScreen::renderPanorama() {
#ifdef ENABLE_JAVA_GUIS
Tesselator* t = Tesselator::getInstance();
glMatrixMode(GL_PROJECTION);
@@ -217,6 +218,7 @@ void TitleScreen::renderPanorama() {
glPopMatrix();
glMatrixMode(GL_MODELVIEW);
glPopMatrix();
#endif
}
void TitleScreen::render(int xm, int ym, float a) {