From 76b45b5492f5929ae05f65ea7a98b93f676b33a9 Mon Sep 17 00:00:00 2001 From: Caden Ji Date: Wed, 6 Oct 2021 16:08:39 +0800 Subject: [PATCH] Update the code in 01-05 Replace 'GLchar' with 'char' to be consistent with the original English article. --- docs/01 Getting started/05 Shaders.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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工具函数