winex11.drv: Remove variable bits which is not really used from X11DRV_DIB_GetImageBits_4.
This commit is contained in:
parent
52ead99288
commit
c5bc2a5d2f
|
@ -970,7 +970,6 @@ static void X11DRV_DIB_GetImageBits_4( int lines, BYTE *dstbits,
|
||||||
{
|
{
|
||||||
DWORD x;
|
DWORD x;
|
||||||
int h, width = min(srcwidth, dstwidth);
|
int h, width = min(srcwidth, dstwidth);
|
||||||
BYTE *bits;
|
|
||||||
|
|
||||||
if (lines < 0 )
|
if (lines < 0 )
|
||||||
{
|
{
|
||||||
|
@ -979,8 +978,6 @@ static void X11DRV_DIB_GetImageBits_4( int lines, BYTE *dstbits,
|
||||||
linebytes = -linebytes;
|
linebytes = -linebytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
bits = dstbits;
|
|
||||||
|
|
||||||
switch (bmpImage->depth) {
|
switch (bmpImage->depth) {
|
||||||
case 1:
|
case 1:
|
||||||
case 4:
|
case 4:
|
||||||
|
|
Loading…
Reference in New Issue