From 52afff463b98559f39395e331b6bcc6a16599e79 Mon Sep 17 00:00:00 2001 From: Shredder Date: Tue, 5 May 2026 00:21:37 +0500 Subject: [PATCH] left a debug opengl only feature accidentally in, and also hopefully fixed include mess --- src/client/Minecraft.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/client/Minecraft.cpp b/src/client/Minecraft.cpp index c58b957..c0c6f70 100755 --- a/src/client/Minecraft.cpp +++ b/src/client/Minecraft.cpp @@ -92,6 +92,9 @@ #include "gamemode/CreatorMode.h" #include "../world/level/GrassColor.h" +#include "renderer/LevelRenderer.h" +#include "particle/ParticleEngine.h" +#include "../world/level/Level.h" static void checkGlError(const char* tag) { #ifdef GLDEBUG while (1) { @@ -848,12 +851,6 @@ void Minecraft::tickInput() { //glPolygonMode(GL_BACK, isWireFrame? GL_LINE : GL_FILL); } #endif - if (key == Keyboard::KEY_P) { - static bool isWireFrame = false; - isWireFrame = !isWireFrame; - glPolygonMode(GL_FRONT, isWireFrame? GL_LINE : GL_FILL); - //glPolygonMode(GL_BACK, isWireFrame? GL_LINE : GL_FILL); - } } #ifdef WIN32 if (key == Keyboard::KEY_M) {