fix opengl shader mismatch when linking on intel

This commit is contained in:
Green Sky 2022-11-15 20:22:41 +01:00
parent a9e56b9e25
commit 0c1a98cfd5
No known key found for this signature in database

View File

@ -150,7 +150,7 @@ layout(location = 2) in uint _atlasIndex;
//layout(location = 3) in vec3 _tColor; //layout(location = 3) in vec3 _tColor;
//out vec4 _color; //out vec4 _color;
out vec2 _tex_pos; centroid out vec2 _tex_pos;
void main() { void main() {
//gl_Position = vec4(_WVP * vec3(_vertexPosition, 1), 1); //gl_Position = vec4(_WVP * vec3(_vertexPosition, 1), 1);