mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 21:58:31 +09:00
[Fix] (MG_State/Texture): revert GetUnpackParam_ to private
This commit is contained in:
@@ -62,8 +62,8 @@ private:
|
|||||||
std::vector<GLuint> freeID_;
|
std::vector<GLuint> freeID_;
|
||||||
|
|
||||||
MG_Global::unordered_map<GLenum, TextureObject> proxyTextures_;
|
MG_Global::unordered_map<GLenum, TextureObject> proxyTextures_;
|
||||||
|
|
||||||
static GLint GetUnpackParam_(GLenum pname);
|
static GLint GetUnpackParam_(GLenum pname);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
TextureState();
|
TextureState();
|
||||||
|
|
||||||
@@ -71,6 +71,7 @@ public:
|
|||||||
bool IsTexture(GLuint texture);
|
bool IsTexture(GLuint texture);
|
||||||
MG_Global::unordered_map<GLuint, TextureObject> textures;
|
MG_Global::unordered_map<GLuint, TextureObject> textures;
|
||||||
|
|
||||||
|
|
||||||
// Return: the validity of the operation, according to OpenGL 3 standard
|
// Return: the validity of the operation, according to OpenGL 3 standard
|
||||||
GLenum BindUnit(GLenum textureUnit);
|
GLenum BindUnit(GLenum textureUnit);
|
||||||
GLenum Create(GLuint* texture);
|
GLenum Create(GLuint* texture);
|
||||||
|
|||||||
Reference in New Issue
Block a user