Merge pull request #2 from mendsley/wall
updting bgfx to compile cleanly with -Wall and -Wextra
This commit is contained in:
commit
a115ce5554
@ -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 New Issue
Block a user