From e7620cc88e057cec0cb3e9d24099bb64ee98e843 Mon Sep 17 00:00:00 2001 From: Meow J Date: Mon, 22 Aug 2016 01:22:18 +0800 Subject: [PATCH] Anyway, just delete it. Close #46 --- docs/01 Getting started/05 Shaders.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/01 Getting started/05 Shaders.md b/docs/01 Getting started/05 Shaders.md index 9c6fe45..295c1ae 100644 --- a/docs/01 Getting started/05 Shaders.md +++ b/docs/01 Getting started/05 Shaders.md @@ -335,11 +335,7 @@ public: ## 从文件读取 -我们使用C++文件流读取着色器内容,储存到几个`string`对象里(译注1): - -!!! note "译注1" - - 实际上把着色器代码保存在文件中适合学习OpenGL的时候,实际开发中最好把一个着色器直接储存为多个字符串,这样具有更高的灵活度。 +我们使用C++文件流读取着色器内容,储存到几个`string`对象里: ```c++ Shader(const GLchar* vertexPath, const GLchar* fragmentPath)