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

View File

@@ -112,7 +112,7 @@ extern "C" {
* @return The the display device name of the specified monitor.
* @ingroup native
*/
GLFWAPI const WCHAR* glfwGetWin32Monitor(GLFWmonitor* monitor);
GLFWAPI const char* glfwGetWin32Monitor(GLFWmonitor* monitor);
/*! @brief Returns the `HWND` of the specified window.
* @return The `HWND` of the specified window.