errormsg = logbuf;
delete [] logbuf;
throw new Exception(typeid(*this), "Shader compile failed", errormsg);
- }\r
-std::cout << final_source << std::endl;
+ }
\r
if(gl2Program==0) gl2Program = glCreateProgram();
glAttachShader(gl2Program, fragShader);