David Rose 16 years ago
parent
commit
be9798c601
1 changed files with 1 additions and 1 deletions
  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;