浏览代码

Fixed an uninitialized pointer

Josh Yelon 20 年之前
父节点
当前提交
3a9a8df64b
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;
   _libgl_handle = NULL;
   _checked_get_proc_address = false;
   _checked_get_proc_address = false;
+  _glxGetProcAddress = NULL;
 }
 }
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////