From 0f213516583df124c839538729ee734152314544 Mon Sep 17 00:00:00 2001 From: BZLZHH <69153940+BZLZHH@users.noreply.github.com> Date: Sat, 26 Apr 2025 12:19:18 +0800 Subject: [PATCH] [Fix] (TestDrawing.cpp): Fix the shader error. --- MG/MG_RHI/GLES/Test/TestDrawing.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MG/MG_RHI/GLES/Test/TestDrawing.cpp b/MG/MG_RHI/GLES/Test/TestDrawing.cpp index 3499109e..0d1830ba 100644 --- a/MG/MG_RHI/GLES/Test/TestDrawing.cpp +++ b/MG/MG_RHI/GLES/Test/TestDrawing.cpp @@ -41,7 +41,7 @@ namespace MG_RHI::GLES::Test { out vec2 vUV; uniform mat4 uMVP; void main() { - ::GLES::gl_Position = uMVP * vec4(aPos, 0.0, 1.0); + gl_Position = uMVP * vec4(aPos, 0.0, 1.0); vUV = aTexUV; })"; @@ -184,4 +184,4 @@ namespace MG_RHI::GLES::Test { ::GLES::glDrawArrays(GL_TRIANGLE_FAN, static_cast(i*4), 4); } } -} \ No newline at end of file +}