Added code to enable _supports_basic_shaders
This commit is contained in:
parent
fbb934c19c
commit
b1c2cd729b
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue