diff --git a/MG/MG_GL/State/Texture/TextureState.h b/MG/MG_GL/State/Texture/TextureState.h index fa3392cf..0235f43e 100644 --- a/MG/MG_GL/State/Texture/TextureState.h +++ b/MG/MG_GL/State/Texture/TextureState.h @@ -62,8 +62,8 @@ private: std::vector freeID_; MG_Global::unordered_map proxyTextures_; - static GLint GetUnpackParam_(GLenum pname); + public: TextureState(); @@ -71,6 +71,7 @@ public: bool IsTexture(GLuint texture); MG_Global::unordered_map textures; + // Return: the validity of the operation, according to OpenGL 3 standard GLenum BindUnit(GLenum textureUnit); GLenum Create(GLuint* texture);