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:
janwas 2005-11-09 01:20:33 +00:00
parent d51f4900d8
commit 64f98cccc0
3 changed files with 2 additions and 10 deletions

View File

@ -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"}))

View File

@ -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;

View File

@ -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