opengl - How can I check if the display is selected? -
i'd check if lwjgl display selected or not, i.e. if in foreground.
is there display.isinforeground() method?
returns: true if window active, is, foreground display of operating system.
or if using lwjgl 3 , glfw equivalent glfwgetwindowattrib glfw_focused.
Comments
Post a Comment