fix simple 2D built-in shaders
Forgot the projection matrix.
This commit is contained in:
parent
0ea8430549
commit
f27516839f
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue