David Rose 16 年之前
父節點
當前提交
be9798c601
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      direct/src/plugin_standalone/panda3d.cxx

+ 1 - 1
direct/src/plugin_standalone/panda3d.cxx

@@ -305,7 +305,7 @@ run_command_line(int argc, char *argv[]) {
 void Panda3D::
 run_main_loop() {
 #ifdef _WIN32
-  if (window_type == P3D_WT_embedded) {
+  if (_window_type == P3D_WT_embedded) {
     // Wait for new messages from Windows, and new requests from the
     // plugin.
     MSG msg;