From 07dc7b2c5fcc732ee1c45f4ed92da30be32cccf2 Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Sun, 24 Mar 2013 09:06:43 -0700 Subject: [PATCH] Fixed GCC warning. --- src/renderer_gl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer_gl.cpp b/src/renderer_gl.cpp index ddbbc7f9..9b084d1b 100644 --- a/src/renderer_gl.cpp +++ b/src/renderer_gl.cpp @@ -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.