Fixed GCC warnings.

This commit is contained in:
bkaradzic 2013-11-29 22:23:04 -08:00
parent 3eee004c99
commit 9487ab6b5f
2 changed files with 6 additions and 0 deletions

View file

@ -53,10 +53,12 @@ namespace entry
void release(const Event* _event)
{
BX_UNUSED(_event);
}
void setWindowSize(uint32_t _width, uint32_t _height)
{
BX_UNUSED(_width, _height);
}
void toggleWindowFrame()
@ -65,6 +67,7 @@ namespace entry
void setMouseLock(bool _lock)
{
BX_UNUSED(_lock);
}
template<typename Type>
@ -125,6 +128,7 @@ namespace entry
static void naclInstanceDidDestroy(PP_Instance _instance)
{
BX_UNUSED(_instance);
delete s_ctx;
}
@ -166,6 +170,7 @@ PP_EXPORT const void* PPP_GetInterface(const char* _name)
PP_EXPORT int32_t PPP_InitializeModule(PP_Module _module, PPB_GetInterface _interface)
{
BX_UNUSED(_module);
bool result = true;
result &= initializeInterface(_interface, PPB_CORE_INTERFACE, g_coreInterface);
result &= initializeInterface(_interface, PPB_GRAPHICS_3D_INTERFACE, g_graphicsInterface);

View file

@ -134,6 +134,7 @@ namespace bgfx
void GlContext::create(uint32_t _width, uint32_t _height)
{
BX_UNUSED(_width, _height);
BX_TRACE("GlContext::create");
}