mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 00:30:57 +00:00
Moved DllMain into Win32 init module.
This commit is contained in:
@@ -39,6 +39,18 @@
|
||||
#endif // __BORLANDC__
|
||||
|
||||
|
||||
//========================================================================
|
||||
// GLFW DLL entry point
|
||||
//========================================================================
|
||||
|
||||
#if defined(_GLFW_BUILD_DLL)
|
||||
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
#endif // _GLFW_BUILD_DLL
|
||||
|
||||
|
||||
//========================================================================
|
||||
// Load necessary libraries (DLLs)
|
||||
//========================================================================
|
||||
|
||||
Reference in New Issue
Block a user