mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Implemented display aware glfwVideoModes function for X11 XRandR and win32.
This commit is contained in:
+4
-1
@@ -232,6 +232,9 @@ struct _GLFWdisplay
|
||||
// logical orientation of the screen on the desktop
|
||||
int screenXPosition;
|
||||
int screenYPosition;
|
||||
|
||||
// These are defined in the current port's platform.h
|
||||
_GLFW_PLATFORM_DISPLAY_STATE;
|
||||
};
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
@@ -298,7 +301,7 @@ void _glfwPlatformEnableSystemKeys(_GLFWwindow* window);
|
||||
void _glfwPlatformDisableSystemKeys(_GLFWwindow* window);
|
||||
|
||||
// Fullscreen
|
||||
int _glfwPlatformGetVideoModes(GLFWvidmode* list, int maxcount);
|
||||
int _glfwPlatformGetVideoModes(GLFWdisplay display, GLFWvidmode* list, int maxcount);
|
||||
void _glfwPlatformGetDesktopMode(GLFWvidmode* mode);
|
||||
|
||||
// Gamma ramp
|
||||
|
||||
Reference in New Issue
Block a user