mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Replaced display with monitor in monitor related api.
This commit is contained in:
@@ -202,7 +202,7 @@ typedef DWORD (WINAPI * TIMEGETTIME_T) (void);
|
||||
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowWin32 Win32
|
||||
#define _GLFW_PLATFORM_LIBRARY_STATE _GLFWlibraryWin32 Win32
|
||||
#define _GLFW_PLATFORM_CONTEXT_STATE _GLFWcontextWGL WGL
|
||||
#define _GLFW_PLATFORM_DISPLAY_STATE _GLFWdisplayWin32 Win32
|
||||
#define _GLFW_PLATFORM_MONITOR_STATE _GLFWmonitorWin32 Win32
|
||||
|
||||
|
||||
//========================================================================
|
||||
@@ -312,12 +312,12 @@ typedef struct _GLFWlibraryWin32
|
||||
} _GLFWlibraryWin32;
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
// Platform-specific display structure
|
||||
// Platform-specific monitor structure
|
||||
//------------------------------------------------------------------------
|
||||
typedef struct _GLFWdisplayWin32
|
||||
typedef struct _GLFWmonitorWin32
|
||||
{
|
||||
char DeviceName[32];
|
||||
} _GLFWdisplayWin32;
|
||||
} _GLFWmonitorWin32;
|
||||
|
||||
//========================================================================
|
||||
// Prototypes for platform specific internal functions
|
||||
@@ -326,9 +326,9 @@ typedef struct _GLFWdisplayWin32
|
||||
// Time
|
||||
void _glfwInitTimer(void);
|
||||
|
||||
// Display support
|
||||
void _glfwInitDisplays(void);
|
||||
void _glfwTerminateDisplays(void);
|
||||
// Monitor support
|
||||
void _glfwInitMonitors(void);
|
||||
void _glfwTerminateMonitors(void);
|
||||
|
||||
// Fullscreen support
|
||||
void _glfwSetVideoMode(int* width, int* height,
|
||||
|
||||
Reference in New Issue
Block a user