- fix: GLFW project template.

This commit is contained in:
Roy Qu 2023-07-04 08:30:04 +08:00
parent 0e1332dd5e
commit 70edbf7054
5 changed files with 5 additions and 4 deletions

View File

@ -25,6 +25,7 @@ Red Panda C++ Version 2.23
- enhancement: add "OI Wiki" and "turtle graphics tutorial" in help menu for zh_CN locale.
- fix: Replace panel should be hidden after finding occurrencies.
- enhancement: Show code completion suggestion after "typedef" and "const".
- fix: GLFW project template.
Red Panda C++ Version 2.22

View File

@ -40,7 +40,7 @@ int main()
glViewport(0, 0, WIDTH, HEIGHT);
Shader ourShader("shader.vs", "shader.frag");
Shader ourShader("shader.vs", "shader.fs");
GLfloat vertices[] = {
// Positions // Colors

View File

@ -40,7 +40,7 @@ int main()
// 读取shader文件并编译见shader.h代码
Shader ourShader("shader.vs", "shader.frag");
Shader ourShader("shader.vs", "shader.fs");
// 一维数组,每六个代表一个顶点属性,前三个代表位置属性,后三个代表颜色属性

View File

@ -18,8 +18,8 @@ Cpp=GLFW_shader.h.txt
Cpp[zh_CN]=GLFW_shader_zh_CN.h
[Unit2]
CppName=shader.frag
Cpp=GLFW_shader.frag.txt
CppName=shader.fs
Cpp=GLFW_shader.fs.txt
[Unit3]