1
0
mirror of https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git synced 2025-08-23 04:35:28 +08:00

Update the code in 01-05

Replace 'GLchar' with 'char' to be consistent with the original English article.
This commit is contained in:
Caden Ji
2021-10-06 16:08:39 +08:00
committed by GitHub
parent f1dbb28be3
commit 76b45b5492

View File

@@ -323,7 +323,7 @@ public:
unsigned int ID;
// 构造器读取并构建着色器
Shader(const GLchar* vertexPath, const GLchar* fragmentPath);
Shader(const char* vertexPath, const char* fragmentPath);
// 使用/激活程序
void use();
// uniform工具函数