Fixed GCC warning.

This commit is contained in:
bkaradzic 2013-03-24 09:06:43 -07:00
parent 137700d0a2
commit 07dc7b2c5f

View file

@ -2004,14 +2004,14 @@ namespace bgfx
s_renderCtx.flip();
}
static GLint glGet(GLenum _pname)
GLint glGet(GLenum _pname)
{
GLint result;
GL_CHECK(glGetIntegerv(_pname, &result) );
return result;
}
static uint32_t glGetStringHash(GLenum _name)
uint32_t glGetStringHash(GLenum _name)
{
const char* str = (const char*)glGetString(_name);
glGetError(); // ignore error if glGetString returns NULL.