mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 21:58:31 +09:00
[Chore] (GLState.cpp): Remove unused MG_State_O.
This commit is contained in:
@@ -8,15 +8,12 @@ TextureState* MG_State_T::textureState;
|
|||||||
std::queue<GLenum> MG_State_T::glErrorQueue;
|
std::queue<GLenum> MG_State_T::glErrorQueue;
|
||||||
|
|
||||||
namespace MG_State {
|
namespace MG_State {
|
||||||
MG_State_T* MG_State_O;
|
|
||||||
|
|
||||||
void Init() {
|
void Init() {
|
||||||
MG_State_O = new MG_State_T();
|
|
||||||
MG_State_T::textureState = new TextureState();
|
MG_State_T::textureState = new TextureState();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Destroy() {
|
void Destroy() {
|
||||||
delete MG_State_O;
|
delete MG_State_T::textureState;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetError(GLenum error) {
|
void SetError(GLenum error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user