mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
Fix crash on very, very, old OpenGL versions
This commit is contained in:
parent
4bc64d4de9
commit
c2b44b57c9
@ -1604,6 +1604,9 @@ reset() {
|
||||
_glGetFramebufferAttachmentParameteriv = glGetFramebufferAttachmentParameteriv;
|
||||
_glGenerateMipmap = glGenerateMipmap;
|
||||
#else
|
||||
// Make sure this is properly initialized.
|
||||
_glGenerateMipmap = NULL;
|
||||
|
||||
//TODO: add ARB/3.0 version
|
||||
|
||||
_supports_framebuffer_object = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user