Merge pull request #2 from mendsley/wall

updting bgfx to compile cleanly with -Wall and -Wextra
This commit is contained in:
Branimir Karadžić 2012-07-02 20:03:13 -07:00
commit a115ce5554
2 changed files with 4 additions and 2 deletions

View file

@ -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();
}

View file

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