mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
Protect against crash
This commit is contained in:
parent
da0908002c
commit
d92008a76d
@ -619,6 +619,8 @@ get_extra_extensions() {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void *glxGraphicsStateGuardian::
|
||||
do_get_extension_func(const char *prefix, const char *name) {
|
||||
nassertr(prefix != NULL, NULL);
|
||||
nassertr(name != NULL, NULL);
|
||||
string fullname = string(prefix) + string(name);
|
||||
|
||||
if (glx_get_proc_address) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user