[Fix] (MG_State/Texture): revert GetUnpackParam_ to private

This commit is contained in:
2025-06-26 16:03:34 +08:00
parent 3e71f83d61
commit 229b5f292e
+2 -1
View File
@@ -62,8 +62,8 @@ private:
std::vector<GLuint> freeID_;
MG_Global::unordered_map<GLenum, TextureObject> proxyTextures_;
static GLint GetUnpackParam_(GLenum pname);
public:
TextureState();
@@ -71,6 +71,7 @@ public:
bool IsTexture(GLuint texture);
MG_Global::unordered_map<GLuint, TextureObject> textures;
// Return: the validity of the operation, according to OpenGL 3 standard
GLenum BindUnit(GLenum textureUnit);
GLenum Create(GLuint* texture);