Mercurial > sdl-ios-xcode
annotate .cvsignore @ 1295:c3e36ac8a94c
Date: Sun, 6 Mar 2005 17:06:20 +0100
From: Per Inge Mathisen
Subject: [SDL] Fullscreen refresh on win32
Windows has a terrible default for fullscreen 3D apps of 60mhz refresh
rate. This can be fixed by the user by going into his driver's
control panel and forcing the refresh rate higher. However, this not a
very user friendly way about it, and in any case SDL contains no code
that could figure out this that condition has afflicted the user.
So the question is, could SDL fix this for the user? It is possible
under Windows to request a higher refresh rate. The danger is of
course that if the user has an old monitor, and you request a too high
refresh rate, the monitor could be damaged. However, I believe there
might be a way around that: Check before switching what refresh rate
the user's desktop runs in, and if our fullscreen dimensions are equal
or less than those of the desktop, use the higher refresh rate of 60
and the desktop rate.
Since most users run their desktops in the same or higher resolution
something sane, this should fix this problem for most users.
Thoughts?
An alternative is to add an SDL_GL_GetAttribute(SDL_GL_REFRESH_RATE)
option so that programs can bitch at their users at their own
convenience.
- Per
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 30 Jan 2006 06:56:10 +0000 |
parents | 9454950842ae |
children | d94b080ff6ce |
rev | line source |
---|---|
0 | 1 aclocal.m4 |
1015
9454950842ae
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
1001
diff
changeset
|
2 autom4te* |
0 | 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 | 9 libtool |
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 | 14 sdl-config |
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 |