diff --git a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx index 1c14c9446b..ba86662ead 100644 --- a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx +++ b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx @@ -576,6 +576,13 @@ reset() { } } +#ifdef HAVE_CGGL + if (cgGLIsProfileSupported(CG_PROFILE_ARBFP1) && + cgGLIsProfileSupported(CG_PROFILE_ARBVP1)) { + _supports_basic_shaders = true; + } +#endif + _supports_framebuffer_object = false; if (has_extension("GL_EXT_framebuffer_object")) { _supports_framebuffer_object = true;