fix simple 2D built-in shaders

Forgot the projection matrix.
This commit is contained in:
Mike Erwin 2016-08-07 01:26:29 -04:00
parent 0ea8430549
commit f27516839f
2 changed files with 2 additions and 2 deletions

View File

@ -13,6 +13,6 @@
void main()
{
gl_Position = gl_ModelViewMatrix * vec4(pos, 0.0, 1.0);
gl_Position = gl_ModelViewProjectionMatrix * vec4(pos, 0.0, 1.0);
finalColor = color;
}

View File

@ -7,5 +7,5 @@
void main()
{
gl_Position = gl_ModelViewMatrix * vec4(pos, 0.0, 1.0);
gl_Position = gl_ModelViewProjectionMatrix * vec4(pos, 0.0, 1.0);
}