Only link sfml-main for the GUI examples in release mode.
This commit is contained in:
parent
7b4610b55b
commit
23cc8cfe3f
2 changed files with 4 additions and 2 deletions
|
@ -47,8 +47,10 @@ LRESULT CALLBACK onEvent(HWND handle, UINT message, WPARAM wParam, LPARAM lParam
|
|||
/// \return Error code
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
INT WINAPI WinMain(HINSTANCE instance, HINSTANCE, LPSTR, INT)
|
||||
int main()
|
||||
{
|
||||
HINSTANCE instance = GetModuleHandle(NULL);
|
||||
|
||||
// Define a class for our main window
|
||||
WNDCLASS windowClass;
|
||||
windowClass.style = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue