diff --git a/docs/01 Getting started/05 Shaders.md b/docs/01 Getting started/05 Shaders.md index 5b8dfed..0342940 100644 --- a/docs/01 Getting started/05 Shaders.md +++ b/docs/01 Getting started/05 Shaders.md @@ -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工具函数