add frag shader again
This commit is contained in:
parent
5a5295231b
commit
fd7f680592
|
@ -1 +1,7 @@
|
|||
// empty
|
||||
#version 330 core
|
||||
out vec4 FragColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
FragColor = vec4(1.0f, 0.5f, 0.2f, 1.0f);
|
||||
}
|
||||
|
|
|
@ -78,7 +78,6 @@ ShaderProgram::ShaderProgram(Base base, string vertexSource,
|
|||
exit(EXIT_SHADER);
|
||||
}
|
||||
|
||||
/* FIXME: Optionally include a frag shader
|
||||
BOOST_LOG_TRIVIAL(trace) << "loading fragments shader";
|
||||
glShaderSource(this->frag, 1, &fragSource_c, NULL);
|
||||
BOOST_LOG_TRIVIAL(trace) << "compiling fragments shader";
|
||||
|
@ -91,7 +90,6 @@ ShaderProgram::ShaderProgram(Base base, string vertexSource,
|
|||
<< infoLog << std::endl;
|
||||
exit(EXIT_SHADER);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
/** defines the base program behavior.
|
||||
|
|
Loading…
Reference in New Issue