mirror of
https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git
synced 2025-08-23 12:45:29 +08:00
Merge pull request #188 from cadenji/update-code
Update the code in 01-05
This commit is contained in:
@@ -323,7 +323,7 @@ public:
|
|||||||
unsigned int ID;
|
unsigned int ID;
|
||||||
|
|
||||||
// 构造器读取并构建着色器
|
// 构造器读取并构建着色器
|
||||||
Shader(const GLchar* vertexPath, const GLchar* fragmentPath);
|
Shader(const char* vertexPath, const char* fragmentPath);
|
||||||
// 使用/激活程序
|
// 使用/激活程序
|
||||||
void use();
|
void use();
|
||||||
// uniform工具函数
|
// uniform工具函数
|
||||||
|
Reference in New Issue
Block a user