Magellan Linux

Annotation of /trunk/libsdl/patches/libsdl-1.2.9-sdl-blit-mmx-check.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (hide annotations) (download)
Tue May 8 20:06:05 2007 UTC (17 years ago) by niro
File size: 551 byte(s)
-import

1 niro 144 Fix segfaults when playing games like bomberclone
2    
3     http://bugs.gentoo.org/104533
4    
5     --- src/video/SDL_blit_N.c
6     +++ src/video/SDL_blit_N.c
7     @@ -2245,7 +2245,7 @@
8     MASKOK(dstfmt->Bmask, table[which].dstB) &&
9     dstfmt->BytesPerPixel == table[which].dstbpp &&
10     (a_need & table[which].alpha) == a_need &&
11     - ((table[which].blit_features & GetBlitFeatures()) == table[which].blit_features) )
12     + ((table[which].blit_features & GetBlitFeatures()) == GetBlitFeatures()) )
13     break;
14     }
15     sdata->aux_data = table[which].aux_data;