(svn r2334) - Fix (regression): moved togglefullscreen into the video-driver, now windows works, dedicated works and sdl works. Also reverted the change to the makefile.

This commit is contained in:
Darkvater
2005-05-16 16:19:32 +00:00
parent effbba74f5
commit 7daaf1f100
8 changed files with 18 additions and 10 deletions

2
gfx.c
View File

@@ -1979,6 +1979,8 @@ bool ChangeResInGame(int w, int h)
return true;
}
void ToggleFullScreen(bool fs) {_video_driver->toggle_fullscreen(fs);}
static int CDECL compare_res(const void *pa, const void *pb)
{
int x = ((const uint16*)pa)[0] - ((const uint16*)pb)[0];