Forgot to init the GL-Context -.-

This commit is contained in:
Stefan Dresselhaus
2014-01-20 19:42:49 +01:00
parent ce055339ec
commit 18c36491f8
2 changed files with 6 additions and 2 deletions

View File

@ -15,6 +15,8 @@ smooth out vec4 fg_SmoothColor;
void main()
{
uiaenuirtdaend
vec3 fg_Normal = fg_NormalMatrix * fg_NormalIn; //vec3(0,1,0);
//transform vec3 into vec4, setting w to 1
vec4 fg_Vertex = vec4(fg_VertexIn, 1.0);