This commit is contained in:
dimok321 2009-10-17 07:30:54 +00:00
parent 8c6dfb7ec6
commit a2bb760f3d

View File

@ -319,7 +319,7 @@ void GuiImage::SetGrayscale(void)
}
}
int len = w*h*4;
int len = width*height*4;
if(len%32) len += (32-len%32);
DCFlushRange(image, len);
}
@ -412,7 +412,7 @@ void GuiImage::ColorStripe(int shift)
}
}
int len = w*h*4;
int len = width*height*4;
if(len%32) len += (32-len%32);
DCFlushRange(image, len);
}