1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

remove unused var

This commit is contained in:
FunkyFr3sh 2023-10-21 09:07:38 +02:00
parent 64f58ef2d2
commit 77319903fb

View File

@ -230,8 +230,6 @@ static BOOL ss_screenshot_bmp(char* filename, IDirectDrawSurfaceImpl* src)
// Copy the array of color indices into the .BMP file.
DWORD cb = pbih->biSizeImage;
DWORD total = pbih->biSizeImage;
if (!WriteFile(hf, (LPSTR)dds_GetBuffer(src), (int)cb, (LPDWORD)&tmp, NULL))
{
result = FALSE;