annotate .cvsignore @ 1257:448a9a64537b

[PATCH] SDL_GetVideoMode() does not find best mode, part 2 Following commit 1.51, I come accross a problem when SDL must choose between several video modes that could suit the one asked. If I ask 320x240 with this list: 768x480 768x240 640x400 640x200 384x480 384x240 320x400 320x200 The smallest selectables modes are 384x240 and 320x400. And SDL choose the later in this list, but 384x240 is more suitable. So I added a check to compare the pixel count (surface) of modes, and select the one which has the smallest pixel count. In my example, 384x240 has 92160 pixels, and 320x400 has 128000 pixels. So now SDL will choose 384x240 for the asked 320x240 mode.
author Patrice Mandin <patmandin@gmail.com>
date Thu, 19 Jan 2006 21:28:52 +0000
parents 9454950842ae
children d94b080ff6ce
rev   line source
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
1 aclocal.m4
1015
9454950842ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 1001
diff changeset
2 autom4te*
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
3 config.cache
1015
9454950842ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 1001
diff changeset
4 config.log
9454950842ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 1001
diff changeset
5 config.status
9454950842ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 1001
diff changeset
6 configure
596
475f969e8c01 CVS should ignore files automatically generated by building on MacOS X
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
7 depcomp
1001
70bfe658442c *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 754
diff changeset
8 install-sh
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
9 libtool
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
10 Makefile
1015
9454950842ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 1001
diff changeset
11 Makefile.in
9454950842ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 1001
diff changeset
12 missing
9454950842ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 1001
diff changeset
13 mkinstalldirs
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
14 sdl-config
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
15 SDL.spec
703
ca809c1b41ca *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 596
diff changeset
16 SDL.qpg
596
475f969e8c01 CVS should ignore files automatically generated by building on MacOS X
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
17 .DS_Store