Mercurial > sdl-ios-xcode
annotate autogen.sh @ 1012:f14e3059e138
Date: Mon, 13 Dec 2004 21:28:18 -0500
From: Jonathan Atkins
Subject: [SDL] SDL_SaveBMP width bugfix
this fixes the pitch versus width difference that can happen
(especially for 8bit and 24bit (with the exact RGBAmasks) surfaces)
when you use SDL_SaveBMP. The problem was the pitch was used
instead of the width, which in some cases is much wider than the
screen area you really want to save...making for ugly crud on the
saved image borders.
This code has been tested with & without pitch overhangs...and
with the right masks for 24 bit surfaces.
I tested 8,15,16,24,32-0RGB,32-RGBA(with no SDL_SRCALPHA flag).
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 14 Dec 2004 06:20:49 +0000 |
parents | 9430ba1a19f3 |
children | c7376efecdb5 |
rev | line source |
---|---|
0 | 1 #!/bin/sh |
2 # | |
3 echo "Generating build information using aclocal, automake and autoconf" | |
4 echo "This may take a while ..." | |
5 | |
6 # Touch the timestamps on all the files since CVS messes them up | |
7 directory=`dirname $0` | |
8 touch $directory/configure.in | |
9 | |
10 # Regenerate configuration files | |
11 aclocal | |
342 | 12 automake --foreign --include-deps --add-missing --copy |
0 | 13 autoconf |
343
9430ba1a19f3
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
342
diff
changeset
|
14 (cd test; aclocal; automake --foreign --include-deps --add-missing --copy; autoconf) |
0 | 15 |
16 # Run configure for this platform | |
17 #./configure $* | |
18 echo "Now you are ready to run ./configure" |