Expose display device name as UTF-8.

This makes interaction with libOVR simpler, as it provides the display
device name in the same encoding.
This commit is contained in:
Camilla Berglund
2014-09-12 17:03:44 +02:00
parent 1b6d8a6ed6
commit 99cedceef5
3 changed files with 10 additions and 3 deletions
+1
View File
@@ -205,6 +205,7 @@ typedef struct _GLFWmonitorWin32
// This size matches the static size of DISPLAY_DEVICE.DeviceName
WCHAR adapterName[32];
WCHAR displayName[32];
char nativeName[64];
GLboolean modeChanged;
} _GLFWmonitorWin32;