Browse Source

Fixed an uninitialized pointer

Josh Yelon 20 years ago
parent
commit
3a9a8df64b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      panda/src/glxdisplay/glxGraphicsStateGuardian.cxx

+ 1 - 0
panda/src/glxdisplay/glxGraphicsStateGuardian.cxx

@@ -56,6 +56,7 @@ glxGraphicsStateGuardian(const FrameBufferProperties &properties,
   
   _libgl_handle = NULL;
   _checked_get_proc_address = false;
+  _glxGetProcAddress = NULL;
 }
 
 ////////////////////////////////////////////////////////////////////