mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Fixed GCC warning.
This commit is contained in:
parent
137700d0a2
commit
07dc7b2c5f
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue