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:
@@ -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工具函数
|
||||
|
Reference in New Issue
Block a user