mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 04:08:32 +09:00
[Fix] (MG_State/Texture): revert GetUnpackParam_ to private
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user