1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-10-08 07:07:25 -04:00

Win32: Allow compile-time override of class name

To use, define _GLFW_WNDCLASSNAME to any sane wide string.

Fixes #1120.
This commit is contained in:
Camilla Löwy 2018-05-16 16:42:51 +02:00
parent 2167bee551
commit 15d89bdff6

View File

@ -242,7 +242,9 @@ typedef VkBool32 (APIENTRY *PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR)(
#include "egl_context.h"
#include "osmesa_context.h"
#if !defined(_GLFW_WNDCLASSNAME)
#define _GLFW_WNDCLASSNAME L"GLFW30"
#endif
#define _glfw_dlopen(name) LoadLibraryA(name)
#define _glfw_dlclose(handle) FreeLibrary((HMODULE) handle)