diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-04-27 18:16:33 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-04-27 18:16:33 +0000 |
commit | 0e377d053fa40a270cdd8e924d617fd910c17f0d (patch) | |
tree | 9492f5a4271afca41f82509cdb9afea6e2f3f182 /games/alephone/files | |
parent | 9168f72db8377bec00fa596728df8d1bdf9d3da2 (diff) | |
download | ports-0e377d053fa40a270cdd8e924d617fd910c17f0d.tar.gz ports-0e377d053fa40a270cdd8e924d617fd910c17f0d.zip |
Notes
Diffstat (limited to 'games/alephone/files')
-rw-r--r-- | games/alephone/files/patch-Source_Files::Misc::screen_sdl.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/alephone/files/patch-Source_Files::Misc::screen_sdl.cpp b/games/alephone/files/patch-Source_Files::Misc::screen_sdl.cpp new file mode 100644 index 000000000000..e9a9e1636ed4 --- /dev/null +++ b/games/alephone/files/patch-Source_Files::Misc::screen_sdl.cpp @@ -0,0 +1,11 @@ +--- Source_Files/Misc/screen_sdl.cpp.orig Sat Apr 28 01:48:07 2001 ++++ Source_Files/Misc/screen_sdl.cpp Sat Apr 28 01:49:40 2001 +@@ -625,7 +625,7 @@ + build_sdl_color_table(color_table, colors); + SDL_SetPalette(main_surface, SDL_PHYSPAL, colors, 0, 256); + } else { +-#if SDL_PATCHLEVEL > 6 ++#if SDL_VERSION_ATLEAST(1,1,7) + // SDL 1.1.7 defines these as 16-bit arrays... + uint16 red[256], green[256], blue[256]; + for (int i=0; i<color_table->color_count; i++) { |