From 81cf02772a691286993c28711e2276099119e439 Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 16 Dec 2009 18:39:04 +0000 Subject: [PATCH] Fix windows compilation error --- direct/src/plugin/p3dWinSplashWindow.cxx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/direct/src/plugin/p3dWinSplashWindow.cxx b/direct/src/plugin/p3dWinSplashWindow.cxx index d87ebe44a4..d80e024000 100755 --- a/direct/src/plugin/p3dWinSplashWindow.cxx +++ b/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.