Oops, fix build error on Windows
This commit is contained in:
parent
07ce815f64
commit
e2b6f78611
|
|
@ -42,7 +42,7 @@ CLP(ShaderContext)(Shader *s, GSG *gsg) : ShaderContext(s) {
|
|||
_name = s->get_filename ( );
|
||||
|
||||
#ifdef HAVE_CG
|
||||
if (s->get_header() == "//Cg") {
|
||||
if (s->get_language() == Shader::SL_Cg) {
|
||||
|
||||
// Ask the shader to compile itself for us and
|
||||
// to give us the resulting Cg program objects.
|
||||
|
|
|
|||
Loading…
Reference in New Issue