Remove SDL 1.2 SDL_DISABLE_LOCK_KEYS hack
Such environment variable is nowhere to be found in SDL2 source code.
This commit is contained in:
parent
3aadf84a00
commit
72d33df24b
1 changed files with 0 additions and 6 deletions
|
@ -2781,12 +2781,6 @@ int main(int argc, char* argv[]) {
|
|||
LOG_MSG("Copyright 2002-2020 DOSBox Team, published under GNU GPL.");
|
||||
LOG_MSG("---");
|
||||
|
||||
/* Init SDL */
|
||||
/* Or debian/ubuntu with older libsdl version as they have done this themselves, but then differently.
|
||||
* with this variable they will work correctly. I've only tested the 1.2.14 behaviour against the windows version
|
||||
* of libsdl
|
||||
*/
|
||||
putenv(const_cast<char*>("SDL_DISABLE_LOCK_KEYS=1"));
|
||||
if (SDL_Init_Wrapper() < 0)
|
||||
E_Exit("Can't init SDL %s", SDL_GetError());
|
||||
sdl.inited = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue