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