Mercurial > sdl-ios-xcode
view README.WinCE @ 604:31d3af76488b
Date: Mon, 24 Feb 2003 16:31:25 -0500
From: Ragnvald "Despair" Maartmann-Moe IV
Subject: SDL x11 video mode selection bug
Hi, I've found an oddity with video mode selection. I recently added a bunch of
oddball video modes to my XF86Config, to support weird resolutions xine &
mplayer need if I don't want to beat my cpu up with video scaling.
Since adding them, SDL started picking the biggest video mode it could find
that matched the height constraint. Getting a narrow vertical strip of
QuakeForge (I code for the project, so needless to say it's my favorite test)
in the middle of an 800x480 screen, instead of the 640x480 I asked for
annoys me tremendously.
So here's a patch that tries a bit harder to get an exact match. I didn't
touch the XiG section, since I can't test that, but I'd bet a similar patch
would prevent similar problems there.
--Ragnvald "Despair" Maartmann-Moe IV
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 06 Mar 2003 06:02:16 +0000 |
parents | a6fa62b1be09 |
children | 86d0d01290ea |
line wrap: on
line source
Project files for embedded Visual C++ 4.0 can be found in VisualCE.zip NOTE: There are several SDL features not available in the WinCE port of SDL. - DirectX is not yet available - Semaphores are not available - Joystick support is not available - CD-ROM control is not available In addition, there are several features that run in "degraded" mode: Preprocessor Symbol Effect =================== ================================= SDL_systimer.c: USE_GETTICKCOUNT Less accurate values for SDL time functions USE_SETTIMER Use only a single marginally accurate timer SDL_syswm.c: DISABLE_ICON_SUPPORT Can't set the runtime window icon SDL_sysmouse.c: USE_STATIC_CURSOR Only the arrow cursor is available SDL_sysevents.c: NO_GETKEYBOARDSTATE Can't get modifier state on keyboard focus SDL_dibevents.c: NO_GETKEYBOARDSTATE Very limited keycode translation SDL_dibvideo.c: NO_GETDIBITS Can't distinguish between 15 bpp and 16 bpp NO_CHANGEDISPLAYSETTINGS No fullscreen support NO_GAMMA_SUPPORT Gamma correction not available