From adbadbba30c159823b4e460d6444060bbfade61f Mon Sep 17 00:00:00 2001 From: BZLZHH Date: Sat, 26 Apr 2025 10:06:45 +0800 Subject: [PATCH] [Chore] (GLState.cpp): Remove unused MG_State_O. --- MG/MG_GL/State/Core/GLState.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/MG/MG_GL/State/Core/GLState.cpp b/MG/MG_GL/State/Core/GLState.cpp index 0cae0f41..6419a9dc 100644 --- a/MG/MG_GL/State/Core/GLState.cpp +++ b/MG/MG_GL/State/Core/GLState.cpp @@ -8,15 +8,12 @@ TextureState* MG_State_T::textureState; std::queue MG_State_T::glErrorQueue; namespace MG_State { - MG_State_T* MG_State_O; - void Init() { - MG_State_O = new MG_State_T(); MG_State_T::textureState = new TextureState(); } void Destroy() { - delete MG_State_O; + delete MG_State_T::textureState; } void SetError(GLenum error) {