Moved DllMain into Win32 init module.

This commit is contained in:
Camilla Berglund
2012-09-12 21:23:04 +02:00
parent 6ac58da26e
commit c4d5da0090
3 changed files with 13 additions and 50 deletions
+12
View File
@@ -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)
//========================================================================