This commit is contained in:
Christian Semmler 2023-06-26 21:52:46 +02:00
parent 1cfb66527e
commit 7814288085
No known key found for this signature in database
GPG Key ID: 086DAA1360BEEE5C

View File

@ -222,7 +222,7 @@ LRESULT WINAPI WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
g_targetDepth = wParam;
}
else {
unsigned char valid = FALSE;
BOOL valid = FALSE;
if (targetWidth == g_targetWidth && targetHeight == g_targetHeight && g_targetDepth == wParam) {
valid = TRUE;
}