I\'m developing C++ GLFW OpenGL 3 application. I register key callback using glfwSetKeyCallback function. Key callback function:
glfwSetKeyCallback
void key_callback(GL