diff --git a/build/premake/premake.lua b/build/premake/premake.lua index be0b855979..0c40486f7e 100755 --- a/build/premake/premake.lua +++ b/build/premake/premake.lua @@ -225,10 +225,6 @@ function setuppackage_engine (projectname) package.pchHeader = "precompiled.h" package.pchSource = "precompiled.cpp" - -- float->int conversion uses IA32 FISTP instruction instead of _ftol2 (slow!) - -- since we also change FPU rounding mode, this should be safe - tinsert(package.buildoptions, { "/QIfist" }) - else -- Non-Windows, = Unix tinsert(package.files, sourcesfromdirs(sourceroot, {"lib/sysdep/unix"})) diff --git a/source/lib/sysdep/win/wsdl.cpp b/source/lib/sysdep/win/wsdl.cpp index d307391645..48334268de 100755 --- a/source/lib/sysdep/win/wsdl.cpp +++ b/source/lib/sysdep/win/wsdl.cpp @@ -259,7 +259,8 @@ keep: h = r.bottom - r.top; } - hWnd = CreateWindowEx(0, (LPCSTR)class_atom, APP_NAME, windowStyle, 0, 0, w, h, 0, 0, hInst, 0); + // note: you can override the hardcoded window name via SDL_WM_SetCaption. + hWnd = CreateWindowEx(0, (LPCSTR)class_atom, "wsdl", windowStyle, 0, 0, w, h, 0, 0, hInst, 0); if(!hWnd) return 0; diff --git a/source/lib/sysdep/win/wsdl.h b/source/lib/sysdep/win/wsdl.h index 4cf1c454c4..ceee507476 100755 --- a/source/lib/sysdep/win/wsdl.h +++ b/source/lib/sysdep/win/wsdl.h @@ -22,11 +22,6 @@ #include "lib/types.h" #include "SDL_keysym.h" -// allow apps to override window name -#ifndef APP_NAME -#define APP_NAME "ogl" -#endif - #ifdef __cplusplus extern "C" { #endif