From f000ef4cbd5fc24eba6bac01e70500afb819837f Mon Sep 17 00:00:00 2001 From: Swung0x48 Date: Thu, 17 Jul 2025 21:39:06 +0800 Subject: [PATCH] [Fix] (MG_State/Core): fix typo --- MobileGL/MG_State/GLState/Core.cpp | 2 +- MobileGL/MG_State/GLState/Core.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MobileGL/MG_State/GLState/Core.cpp b/MobileGL/MG_State/GLState/Core.cpp index 69b6751d..13ceb62d 100644 --- a/MobileGL/MG_State/GLState/Core.cpp +++ b/MobileGL/MG_State/GLState/Core.cpp @@ -11,7 +11,7 @@ namespace MobileGL { return bufferState_.GetBufferObject(index); } - BindingSlot& GLContext::GetBufferBindingSort(BufferTarget target) { + BindingSlot& GLContext::GetBufferBindingSlot(BufferTarget target) { return bufferState_.GetBindingSlot(target); } diff --git a/MobileGL/MG_State/GLState/Core.h b/MobileGL/MG_State/GLState/Core.h index 2ee4c1d7..e0711c09 100644 --- a/MobileGL/MG_State/GLState/Core.h +++ b/MobileGL/MG_State/GLState/Core.h @@ -10,7 +10,7 @@ namespace MobileGL { // Buffer Vector GenBufferNames(Uint number); SharedPtr GetBufferObject(Uint index); - BindingSlot& GetBufferBindingSort(BufferTarget target); + BindingSlot& GetBufferBindingSlot(BufferTarget target); SharedPtr CreateBufferObject(Uint index); private: