Fixed picking blit function when RLE fails

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403314
This commit is contained in:
Sam Lantinga 2008-12-07 22:37:40 +00:00
parent b47ba57912
commit cc01f2a867
6 changed files with 6 additions and 5 deletions

View file

@ -548,7 +548,7 @@ SDL_GetSurfaceScaleMode(SDL_Surface * surface, int *scaleMode)
return 0;
}
switch (surface->map->info.flags & (SDL_COPY_NEAREST)) {
switch (surface->map->info.flags & SDL_COPY_NEAREST) {
case SDL_COPY_NEAREST:
*scaleMode = SDL_TEXTURESCALEMODE_FAST;
break;