Merge pull request #451 from aginor/todofix

Fix TODO by removing workaround for a resolved SDL issue.
This commit is contained in:
Charles Dang 2016-03-13 19:56:57 +11:00
commit 40ffa6ba88

View file

@ -2242,15 +2242,6 @@ bool display::scroll(int xmove, int ymove, bool force)
SDL_BlitSurface(screen_copy,&srcrect,screen,&dstrect);
}
//This is necessary to avoid a crash in some SDL versions on some systems
//see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=462794
//FIXME remove this once the latest stable SDL release doesn't crash as 1.2.13 does
#ifdef _MSC_VER
__asm{cld};
#elif defined(__GNUG__) && (defined(__i386__) || defined(__x86_64__))
asm("cld");
#endif
// Invalidate locations in the newly visible rects
if (dy != 0) {