From 0c1a98cfd546adc2a022b72f37e59a43d9e18dbc Mon Sep 17 00:00:00 2001 From: Green Sky Date: Tue, 15 Nov 2022 20:22:41 +0100 Subject: [PATCH] fix opengl shader mismatch when linking on intel --- .../opengl_renderer/src/mm/opengl/render_tasks/tilemap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/opengl_renderer/src/mm/opengl/render_tasks/tilemap.cpp b/framework/opengl_renderer/src/mm/opengl/render_tasks/tilemap.cpp index fdab76a..7dd144b 100644 --- a/framework/opengl_renderer/src/mm/opengl/render_tasks/tilemap.cpp +++ b/framework/opengl_renderer/src/mm/opengl/render_tasks/tilemap.cpp @@ -150,7 +150,7 @@ layout(location = 2) in uint _atlasIndex; //layout(location = 3) in vec3 _tColor; //out vec4 _color; -out vec2 _tex_pos; +centroid out vec2 _tex_pos; void main() { //gl_Position = vec4(_WVP * vec3(_vertexPosition, 1), 1);