mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
remove unused var
This commit is contained in:
parent
64f58ef2d2
commit
77319903fb
@ -230,8 +230,6 @@ static BOOL ss_screenshot_bmp(char* filename, IDirectDrawSurfaceImpl* src)
|
|||||||
|
|
||||||
// Copy the array of color indices into the .BMP file.
|
// Copy the array of color indices into the .BMP file.
|
||||||
DWORD cb = pbih->biSizeImage;
|
DWORD cb = pbih->biSizeImage;
|
||||||
DWORD total = pbih->biSizeImage;
|
|
||||||
|
|
||||||
if (!WriteFile(hf, (LPSTR)dds_GetBuffer(src), (int)cb, (LPDWORD)&tmp, NULL))
|
if (!WriteFile(hf, (LPSTR)dds_GetBuffer(src), (int)cb, (LPDWORD)&tmp, NULL))
|
||||||
{
|
{
|
||||||
result = FALSE;
|
result = FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user