15 lines
186 B
Plaintext
15 lines
186 B
Plaintext
![]() |
#version 120
|
||
|
/* FAIL - matrix must be only parameter to matrix constructor */
|
||
|
|
||
|
uniform mat2 a;
|
||
|
uniform float x;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
mat2 b;
|
||
|
|
||
|
b = mat2(a, x);
|
||
|
|
||
|
gl_Position = gl_Vertex;
|
||
|
}
|