GLFW joystick polling causes crash

0

In my C++ code the line int controllerPresent = glfwJoystickPresent(GLFW_JOYSTICK_1); causes the program to stop responding but cout << glfwJoystickPresent(GLFW_JOYSTICK_1); doesn't. It returns then prints 0 as it should. Other commands like glfwSetInputMode(window,GLFW_CURSOR, GLFW_CURSUR_HIDDEN);work fine. In the console it states "Process returned -1073741819 (0xC0000005)"

I am using Codeblocks 16.01 with GNU GCC Compiler with the linked libraries of glew32.lib, glew32s.lib, libglfw3.a, libglfwdll.a

c++
glfw
joystick
asked on Stack Overflow Oct 25, 2018 by Super_Spring

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0