diff --git a/cocos/renderer/CCGLProgramState.h b/cocos/renderer/CCGLProgramState.h index 74c471f455..3a4ba8a4ff 100644 --- a/cocos/renderer/CCGLProgramState.h +++ b/cocos/renderer/CCGLProgramState.h @@ -85,7 +85,7 @@ public: void setCallback(const std::function &callback); /** Set texture to uniform value. - @param textureID The texture handle. + @param textureId The texture handle. @param textureUnit The binding texture unit to be used in shader. */ void setTexture(GLuint textureId, GLuint textureUnit);