forked from 0ad/0ad
remove /QIfist setting from premake (see previous commits).
wsdl: remove APP_NAME, a relict of previously incomplete sdl emulation. This was SVN commit r3121.
This commit is contained in:
parent
d51f4900d8
commit
64f98cccc0
@ -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"}))
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user