mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
early fail on GLGraphicsBuffer if no support for fbo
This commit is contained in:
parent
841bfb0743
commit
d81fef3ae1
@ -176,6 +176,13 @@ make_output(const string &name,
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
if ((wglgsg != 0) &&
|
||||
(wglgsg->is_valid()) &&
|
||||
(!wglgsg->needs_reset()) &&
|
||||
!wglgsg->_supports_framebuffer_object) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Early success - if we are sure that this buffer WILL
|
||||
// meet specs, we can precertify it.
|
||||
if ((wglgsg != 0) &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user