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 )
|
if ( m_bRawInputSupported )
|
||||||
{
|
{
|
||||||
static RAWINPUT raw;
|
RAWINPUT raw;
|
||||||
UINT dwSize = sizeof(raw);
|
UINT dwSize = sizeof(raw);
|
||||||
|
|
||||||
pfnGetRawInputData((HRAWINPUT)lParam, RID_INPUT, &raw, &dwSize, sizeof(RAWINPUTHEADER));
|
pfnGetRawInputData((HRAWINPUT)lParam, RID_INPUT, &raw, &dwSize, sizeof(RAWINPUTHEADER));
|
||||||
|
|
|
@ -61,8 +61,8 @@ CFLAGS = {
|
||||||
},
|
},
|
||||||
'fastnative': {
|
'fastnative': {
|
||||||
'msvc': ['/O2', '/Oy', '/MD'],
|
'msvc': ['/O2', '/Oy', '/MD'],
|
||||||
'gcc': ['-O2', '-march=native', '-funsafe-math-optimizations', '-funsafe-loop-optimizations', '-fomit-frame-pointer'],
|
'gcc': ['-Ofast', '-march=native', '-mtune=native', '-funsafe-math-optimizations', '-funsafe-loop-optimizations', '-fomit-frame-pointer'],
|
||||||
'clang': ['-O2', '-march=native'],
|
'clang': ['-Ofast', '-march=native', '-mtune=native'],
|
||||||
'default': ['-O3']
|
'default': ['-O3']
|
||||||
},
|
},
|
||||||
'release': {
|
'release': {
|
||||||
|
|
Loading…
Reference in a new issue