GL3: Apply scroll offset to x also for transparent scroll surfs

no idea where this is used, but it should be correct this way
This commit is contained in:
Daniel Gibson 2017-04-24 15:22:02 +02:00
parent dd007f340a
commit ff6e7ede26

View file

@ -335,7 +335,7 @@ static const char* vertexSrc3Dflow = MULTILINE_STRING(
void main()
{
passTexCoord = texCoord + vec2(0, scroll);
passTexCoord = texCoord + vec2(scroll, 0);
gl_Position = transProj * transView * transModel * vec4(position, 1.0);
}
);