mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
VID_Toggle: disable the fast path entirely because it was failing on SDL2/WinXP.
(640x480 fullscreen -> windowed would give a large 1280x768 window mostly filled with garbage). Previously, we were only using the fast path on old systems (no VBO support) anyway. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1272 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
b30a347a20
commit
239503c998
1 changed files with 7 additions and 1 deletions
|
@ -1649,7 +1649,13 @@ void VID_Init (void)
|
|||
// new proc by S.A., called by alt-return key binding.
|
||||
void VID_Toggle (void)
|
||||
{
|
||||
static qboolean vid_toggle_works = true;
|
||||
// disabling the fast path completely because SDL_SetWindowFullscreen was changing
|
||||
// the window size on SDL2/WinXP and we weren't set up to handle it. --ericw
|
||||
//
|
||||
// TODO: Clear out the dead code, reinstate the fast path using SDL_SetWindowFullscreen
|
||||
// inside VID_SetMode, check window size to fix WinXP issue. This will
|
||||
// keep all the mode changing code in one place.
|
||||
static qboolean vid_toggle_works = false;
|
||||
qboolean toggleWorked;
|
||||
Uint32 flags = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue