1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-29 03:33:48 +00:00

Eradicate remnents of BBGE_BUILD_GFLW & SDL

This commit is contained in:
Nicolas Braud-Santoni 2016-05-05 20:24:42 +02:00
parent bb50895595
commit fb8732e97d
No known key found for this signature in database
GPG key ID: 06EA317DE11BD278

View file

@ -837,10 +837,6 @@ bool Core::initInputLibrary()
{
core->mouse.position = Vector(getWindowWidth()/2, getWindowHeight()/2);
#ifdef BBGE_BUILD_GFLW
glfwDisable(GLFW_MOUSE_CURSOR);
#endif
for (int i = 0; i < KEY_MAXARRAY; i++)
{
keys[i] = 0;
@ -2760,9 +2756,7 @@ void Core::shutdownJoystickLibrary()
{
if (joystickEnabled) {
joystick.shutdown();
#ifdef BBGE_BUIDL_SDL
SDL_QuitSubSystem(SDL_INIT_JOYSTICK);
#endif
joystickEnabled = false;
}
}