Mercurial > hg > forks > pwpunix
diff pwplib/pwplib-unix.c @ 29:d83239a98d1e
Take SDL into account when halving height of rendering buffer, and remove the corresponding "hack" from sdl.c. Also misc. cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 24 May 2010 00:19:57 +0300 |
parents | e45ae779d439 |
children | e2b6a35bcb0c |
line wrap: on
line diff
--- a/pwplib/pwplib-unix.c Mon May 24 00:18:41 2010 +0300 +++ b/pwplib/pwplib-unix.c Mon May 24 00:19:57 2010 +0300 @@ -199,7 +199,7 @@ /*** hmmm ***/ - if (pwplib.setup[SETUP_HALVE]) + if (!sdl_init && pwplib.setup[SETUP_HALVE]) pwplib.videobuf.height <<= 1; /* only allow if smaller than original? */