diff --git a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx index d406417d87..e6f6cee540 100644 --- a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx +++ b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx @@ -39,9 +39,7 @@ #include "colorWriteAttrib.h" #include "texMatrixAttrib.h" #include "texGenAttrib.h" -#ifdef HAVE_CGGL #include "cgShaderAttrib.h" -#endif #include "materialAttrib.h" #include "renderModeAttrib.h" #include "fogAttrib.h" diff --git a/panda/src/glstuff/glGraphicsStateGuardian_src.h b/panda/src/glstuff/glGraphicsStateGuardian_src.h index 96afb252f9..4321ead1a7 100644 --- a/panda/src/glstuff/glGraphicsStateGuardian_src.h +++ b/panda/src/glstuff/glGraphicsStateGuardian_src.h @@ -35,9 +35,7 @@ #include "graphicsWindow.h" #include "pset.h" #include "pmap.h" -#ifdef HAVE_CGGL #include "cgShader.h" -#endif class PlaneNode; class Light; @@ -111,9 +109,8 @@ public: virtual void issue_fog(const FogAttrib *attrib); virtual void issue_depth_offset(const DepthOffsetAttrib *attrib); virtual void issue_tex_gen(const TexGenAttrib *attrib); -#ifdef HAVE_CGGL virtual void issue_cg_shader_bind(const CgShaderAttrib *attrib); -#endif + // virtual void issue_stencil(const StencilAttrib *attrib); virtual void bind_light(PointLight *light_obj, const NodePath &light,