mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
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:
parent
dd007f340a
commit
ff6e7ede26
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue