瀏覽代碼

fix errant mouse cursor

David Rose 21 年之前
父節點
當前提交
81ea39486f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      panda/src/windisplay/winGraphicsWindow.cxx

+ 1 - 0
panda/src/windisplay/winGraphicsWindow.cxx

@@ -71,6 +71,7 @@ WinGraphicsWindow(GraphicsPipe *pipe, GraphicsStateGuardian *gsg,
   _ime_composition_w = false;
   _tracking_mouse_leaving = false;
   _maximized = false;
+  _cursor = 0;
   memset(_keyboard_state, 0, sizeof(BYTE) * num_virtual_keys);
   _lost_keypresses = false;
 }