Avoid unnecessary version_get_uniform() calls

This commit is contained in:
Marcos Casagrande
2025-04-28 14:27:26 +02:00
parent 1b4ed4c038
commit 19540a0758
4 changed files with 43 additions and 45 deletions

View File

@@ -30,13 +30,13 @@ protected:
R"<!>(
precision highp float;
precision highp int;
/* clang-format on */
layout(location = 0) in highp vec3 vertex;
out highp vec4 position_interp;
void main() {
position_interp = vec4(vertex.x,1,0,1);
position_interp = vec4(vertex.x, 1, 0, 1);
}
)<!>"