--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402597
This commit is contained in:
Sam Lantinga 2007-08-12 18:44:49 +00:00
parent b88bb33e97
commit e7a82e9f88

View file

@ -568,7 +568,7 @@ SDL_FillRect(SDL_Surface * dst, SDL_Rect * dstrect, Uint32 color)
dstrect->x * dst->format->BytesPerPixel;
if (dst->format->palette || (color == 0)) {
x = dstrect->w * dst->format->BytesPerPixel;
#ifndef __MACOSX__ /* memset() is optimized on Mac OS X */
#ifndef __MACOSX__ /* memset() is optimized on Mac OS X */
if (!color && !((uintptr_t) row & 3) && !(x & 3)
&& !(dst->pitch & 3)) {
int n = x >> 2;