diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2007-07-31 13:37:02 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2007-07-31 13:37:02 +0000 |
commit | d6508a579b09679372c1fed1e2a2c412d15e0456 (patch) | |
tree | d508a86881d56ef18f6cbfd36c5497343fa1db83 /games/maelstrom | |
parent | 5055e05ce7ca9723ee89899716d23509ae390555 (diff) | |
download | ports-d6508a579b09679372c1fed1e2a2c412d15e0456.tar.gz ports-d6508a579b09679372c1fed1e2a2c412d15e0456.zip |
Notes
Diffstat (limited to 'games/maelstrom')
-rw-r--r-- | games/maelstrom/files/patch-screenlib-SDL_FrameBuf.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/games/maelstrom/files/patch-screenlib-SDL_FrameBuf.cpp b/games/maelstrom/files/patch-screenlib-SDL_FrameBuf.cpp new file mode 100644 index 000000000000..bdf04d3ad30d --- /dev/null +++ b/games/maelstrom/files/patch-screenlib-SDL_FrameBuf.cpp @@ -0,0 +1,15 @@ +--- screenlib/SDL_FrameBuf.cpp.old 2006-10-25 22:37:21.000000000 +0200 ++++ screenlib/SDL_FrameBuf.cpp 2006-10-25 22:38:26.000000000 +0200 +@@ -847,10 +847,8 @@ + /* Update the dirty rectangle map with the new list */ + for ( i=0; i<dirtymaplen; ++i ) { + if ( dirtymap[i] != NULL ) { +- dirtymap[i] = (SDL_Rect *)( +- ((int)dirtymap[i]-(int)updatelist) + +- (int)newlist +- ); ++ dirtymap[i] = newlist ++ + (dirtymap[i]-updatelist); + } + } + delete[] updatelist; |