mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
SDL_putenv() is problematic in versions <= 1.2.9 so replaced it with plain putenv().
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@346 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
14f356c45e
commit
671da2bc11
1 changed files with 1 additions and 1 deletions
|
@ -1208,7 +1208,7 @@ void VID_Init (void)
|
|||
if (SDL_InitSubSystem(SDL_INIT_VIDEO) == -1)
|
||||
Sys_Error("Could not initialize SDL Video");
|
||||
|
||||
SDL_putenv (vid_center);
|
||||
putenv (vid_center); /* SDL_putenv is problematic in versions <= 1.2.9 */
|
||||
|
||||
VID_InitDIB();
|
||||
basenummodes = nummodes = 1;
|
||||
|
|
Loading…
Reference in a new issue