mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Merge pull request #2 from mendsley/wall
updting bgfx to compile cleanly with -Wall and -Wextra
This commit is contained in:
commit
a115ce5554
2 changed files with 4 additions and 2 deletions
|
@ -2872,8 +2872,8 @@ namespace bgfx
|
|||
|
||||
case WM_KEYDOWN:
|
||||
case WM_SYSKEYDOWN:
|
||||
if (WM_KEYDOWN == _id && VK_F11 == _wparam
|
||||
|| WM_SYSKEYDOWN == _id && VK_RETURN == _wparam)
|
||||
if ((WM_KEYDOWN == _id && VK_F11 == _wparam)
|
||||
|| (WM_SYSKEYDOWN == _id && VK_RETURN == _wparam))
|
||||
{
|
||||
toggleWindowFrame();
|
||||
}
|
||||
|
|
|
@ -966,6 +966,7 @@ namespace bgfx
|
|||
, data
|
||||
, offset
|
||||
);
|
||||
(void)offset;
|
||||
}
|
||||
|
||||
m_constantBuffer->finish();
|
||||
|
@ -1685,6 +1686,7 @@ namespace bgfx
|
|||
}
|
||||
|
||||
BX_TRACE("GL_EXTENSION%s: %s", supported ? " (supported)" : "", name);
|
||||
(void)supported;
|
||||
|
||||
pos += len+1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue