fix dune 2000 window frame
This commit is contained in:
parent
45c2206946
commit
ab7a3d5108
1 changed files with 5 additions and 0 deletions
|
@ -882,6 +882,11 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
|
||||
switch(uMsg)
|
||||
{
|
||||
case WM_NCPAINT:
|
||||
{
|
||||
// return DefWindowProc to prevent glitched window frame (dune 2000)
|
||||
return DefWindowProc(hWnd, uMsg, wParam, lParam);
|
||||
}
|
||||
case WM_D3D9DEVICELOST:
|
||||
{
|
||||
if (Direct3D9Active && Direct3D9_OnDeviceLost())
|
||||
|
|
Loading…
Reference in a new issue