mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
msvfw32: Remove unused variable.
This commit is contained in:
parent
55902e0ce0
commit
7b0c084e50
@ -458,7 +458,6 @@ HPALETTE VFWAPI DrawDibGetPalette(HDRAWDIB hdd)
|
||||
UINT VFWAPI DrawDibRealize(HDRAWDIB hdd, HDC hdc, BOOL fBackground)
|
||||
{
|
||||
WINE_HDD *whdd;
|
||||
HPALETTE oldPal;
|
||||
UINT ret = 0;
|
||||
|
||||
FIXME("(%p, %p, %d), stub\n", hdd, hdc, fBackground);
|
||||
@ -475,7 +474,7 @@ UINT VFWAPI DrawDibRealize(HDRAWDIB hdd, HDC hdc, BOOL fBackground)
|
||||
if (!whdd->hpal)
|
||||
whdd->hpal = CreateHalftonePalette(hdc);
|
||||
|
||||
oldPal = SelectPalette(hdc, whdd->hpal, fBackground);
|
||||
SelectPalette(hdc, whdd->hpal, fBackground);
|
||||
ret = RealizePalette(hdc);
|
||||
|
||||
out:
|
||||
|
Loading…
Reference in New Issue
Block a user