[Fix] (TestDrawing.cpp): Fix the shader error.

This commit is contained in:
BZLZHH
2025-04-26 12:19:18 +08:00
committed by GitHub
parent 91fa9e2d01
commit 0f21351658
+2 -2
View File
@@ -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<GLint>(i*4), 4);
}
}
}
}