[SDL] SDL issue when opening at 640x480 (Was Re: Tux Paint - Canvas Size)
nbs at sonic.net
Sat Mar 22 15:37:45 PDT 2008
On Sat, Mar 22, 2008 at 10:19:24PM +0000, Caroline Ford wrote:
> I can open using the windowed shortcut (with the -w switch) and get a
> normal 640x48 window. My problem occurs when I try to open with the
> full-screen shortcut (with the -f switch). TuxPain works fine windowed or
> full screen, but it has a config program that lets me set the Native bit
> that tells it to detect and use my screen size when opening full screen.
> Since TuxPaint works correctly, I don't think it is a graphics driver on
> my PC. It seems like TuxMath and TuxTyping are not detecting my screen
> size. If I don't set the native bit in TuxPaint and try to open full
> screen, I get the same behavior as I am describing for TuxMath and
> TuxTyping. Is there a command line option for setting the native bit?
Doug, the only reason Tux Paint works is that it's able to resize itself
to something other than 640x480. You said that Tux Paint _did_ have that
issue, when you didn't have the Native Screen Size setting checked.
The other apps insist on 640x480, and therefore that's _all_ they can do.
SDL on Windows can either use DirectX or WinDIB as a back-end.
Recently, they changed the default.
You can set it yourself, by following these instructions from the Tux Paint
site (this tells you how to run using WinDIB, versus DirectX, which was the
SDL default; eventually, Tux Paint overrode that setting internally, and
eventually the SDL folks changed the default to be WinDIB on their end).
Try using both "directx" and "windib" as the setting, and see if any
of the apps work with one or the other.
bill at newbreedsoftware.com
More information about the SDL