[add] shadow

[fix] Wrong Call
This commit is contained in:
kimnuri
2026-01-04 07:07:08 +09:00
parent 6feda15560
commit 2b4658c89b
12 changed files with 23 additions and 51 deletions
-26
View File
@@ -196,32 +196,6 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
g_hWnd = hWnd;
#ifndef _DEBUG
int screenX = GetSystemMetrics(SM_CXSCREEN);
int screenY = GetSystemMetrics(SM_CYSCREEN);
HWND hWnd = CreateWindowW(
szWindowClass,
szTitle,
WS_POPUP,
0, 0,
screenX, screenY,
nullptr,
nullptr,
hInstance,
nullptr
);
if (!hWnd)
return FALSE;
g_hWnd = hWnd;
ShowWindow(hWnd, SW_SHOW);
UpdateWindow(hWnd);
#endif // !_DEBUG
return TRUE;
}