From 45224037446004cf4d0d52f5be458f46d98e1f7d Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Wed, 22 Feb 2023 17:29:58 +0800 Subject: [PATCH] work save --- NEWS.md | 1 + platform/windows/templates/GLFW/GLFW_shader.vs.txt | 4 ++-- platform/windows/templates/GLFW/info.template | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/NEWS.md b/NEWS.md index 2bed5d84..18996b03 100644 --- a/NEWS.md +++ b/NEWS.md @@ -7,6 +7,7 @@ Red Panda C++ Version 2.14 - enhancement: Check and remove all non-exist breakpoints before debug a project - change: Remove nasm support - change: Don't stop debug when breakpoint can't be set + - fix: "Generate assembly" menu item is wrongly enabled for new GNU assembly files Red Panda C++ Version 2.13 diff --git a/platform/windows/templates/GLFW/GLFW_shader.vs.txt b/platform/windows/templates/GLFW/GLFW_shader.vs.txt index b2141e1b..9344c044 100644 --- a/platform/windows/templates/GLFW/GLFW_shader.vs.txt +++ b/platform/windows/templates/GLFW/GLFW_shader.vs.txt @@ -1,8 +1,8 @@ #version 330 core -layout (location = 0) in vec3 position;//in 代表输入向量, location,与下面的顶点属性描述有关。 +layout (location = 0) in vec3 position; layout (location = 1) in vec3 color; -out vec3 ourColor;//out 代表输出3维向量,作为片段着色器的输入,见下文 +out vec3 ourColor; void main() { diff --git a/platform/windows/templates/GLFW/info.template b/platform/windows/templates/GLFW/info.template index e2b8f603..b32693d1 100644 --- a/platform/windows/templates/GLFW/info.template +++ b/platform/windows/templates/GLFW/info.template @@ -21,9 +21,11 @@ Cpp[zh_CN]=GLFW_shader_zh_CN.h CppName=shader.frag Cpp=GLFW_shader.frag.txt + [Unit3] CppName=shader.vs Cpp=GLFW_shader.vs.txt +Cpp[zh_CN]=GLFW_shader_zh_CN.vs [Project] UnitCount=4