Changed compiler optimizations and removed rawinput from being static var
This commit is contained in:
parent
ff2be3b56e
commit
c4459282f2
2 changed files with 3 additions and 3 deletions
|
@ -1461,7 +1461,7 @@ LRESULT CInputSystem::WindowProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lP
|
|||
{
|
||||
if ( m_bRawInputSupported )
|
||||
{
|
||||
static RAWINPUT raw;
|
||||
RAWINPUT raw;
|
||||
UINT dwSize = sizeof(raw);
|
||||
|
||||
pfnGetRawInputData((HRAWINPUT)lParam, RID_INPUT, &raw, &dwSize, sizeof(RAWINPUTHEADER));
|
||||
|
|
|
@ -61,8 +61,8 @@ CFLAGS = {
|
|||
},
|
||||
'fastnative': {
|
||||
'msvc': ['/O2', '/Oy', '/MD'],
|
||||
'gcc': ['-O2', '-march=native', '-funsafe-math-optimizations', '-funsafe-loop-optimizations', '-fomit-frame-pointer'],
|
||||
'clang': ['-O2', '-march=native'],
|
||||
'gcc': ['-Ofast', '-march=native', '-mtune=native', '-funsafe-math-optimizations', '-funsafe-loop-optimizations', '-fomit-frame-pointer'],
|
||||
'clang': ['-Ofast', '-march=native', '-mtune=native'],
|
||||
'default': ['-O3']
|
||||
},
|
||||
'release': {
|
||||
|
|
Loading…
Reference in a new issue