diff --git a/arch/sdl/gr.c b/arch/sdl/gr.c index 3e91a8203..6a98bcc5e 100755 --- a/arch/sdl/gr.c +++ b/arch/sdl/gr.c @@ -253,6 +253,7 @@ int gr_toggle_fullscreen(void){ int gr_init(int mode) { + int retcode; // Only do this function once! if (gr_installed==1) return -1; diff --git a/dxx-changelog.txt b/dxx-changelog.txt index 2ca33c9e7..2564d4b32 100755 --- a/dxx-changelog.txt +++ b/dxx-changelog.txt @@ -1,5 +1,9 @@ D2X-Rebirth Changelog +20070219 +-------- +arch/sdl/gr.c: SDL compile fix + 20070218 -------- include/3d.h: use generic 'struct object' instead of including object.h, so gcc4.0 with Xcode doesn't complain about FSCALE being passed to CLIPLINE in 2d/line.c (strange indeed)