mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-25 17:53:47 +00:00
Eradicate remnents of BBGE_BUILD_GFLW & SDL
This commit is contained in:
parent
bb50895595
commit
fb8732e97d
1 changed files with 0 additions and 6 deletions
|
@ -837,10 +837,6 @@ bool Core::initInputLibrary()
|
||||||
{
|
{
|
||||||
core->mouse.position = Vector(getWindowWidth()/2, getWindowHeight()/2);
|
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++)
|
for (int i = 0; i < KEY_MAXARRAY; i++)
|
||||||
{
|
{
|
||||||
keys[i] = 0;
|
keys[i] = 0;
|
||||||
|
@ -2760,9 +2756,7 @@ void Core::shutdownJoystickLibrary()
|
||||||
{
|
{
|
||||||
if (joystickEnabled) {
|
if (joystickEnabled) {
|
||||||
joystick.shutdown();
|
joystick.shutdown();
|
||||||
#ifdef BBGE_BUIDL_SDL
|
|
||||||
SDL_QuitSubSystem(SDL_INIT_JOYSTICK);
|
SDL_QuitSubSystem(SDL_INIT_JOYSTICK);
|
||||||
#endif
|
|
||||||
joystickEnabled = false;
|
joystickEnabled = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue