Added code to enable _supports_basic_shaders

This commit is contained in:
Josh Yelon 2005-11-06 22:00:32 +00:00
parent fbb934c19c
commit b1c2cd729b
1 changed files with 7 additions and 0 deletions

View File

@ -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;