Browse Source

Fix windows compilation error

rdb 16 years ago
parent
commit
81cf02772a
1 changed files with 0 additions and 7 deletions
  1. 0 7
      direct/src/plugin/p3dWinSplashWindow.cxx

+ 0 - 7
direct/src/plugin/p3dWinSplashWindow.cxx

@@ -447,13 +447,6 @@ make_window() {
   if (y == -1) y = CW_USEDEFAULT;
   if (x == -2) x = 0.5 * (GetSystemMetrics(SM_CXBORDER) - width);
   if (y == -2) y = 0.5 * (GetSystemMetrics(SM_CYBORDER) - height);
-  GetSystemMetrics(SM_CXBORDER);
-  int x = CW_USEDEFAULT;
-  int y = CW_USEDEFAULT;
-  if (_wparams.get_win_x() != 0 && _wparams.get_win_y() != 0) {
-    x = _wparams.get_win_x();
-    y = _wparams.get_win_y();
-  }
   
   if (_wparams.get_window_type() == P3D_WT_embedded) {
     // Create an embedded window.