fixed GL3 generic program link issue due to variable type qualifier mismatches (centroid vs not)

this problem proved fatal on some Intel drivers
This commit is contained in:
myT 2020-04-02 04:37:03 +02:00
parent 9e061c4aff
commit e013893c1b

View file

@ -286,9 +286,9 @@ static const char* generic_vs =
"in vec2 texCoords2;\n"
"in vec4 color;\n"
"\n"
"out vec2 texCoords1FS;\n"
"out vec2 texCoords2FS;\n"
"out vec4 colorFS;\n"
"centroid out vec2 texCoords1FS;\n"
"centroid out vec2 texCoords2FS;\n"
"centroid out vec4 colorFS;\n"
"\n"
"void main()\n"
"{\n"