diff options
Diffstat (limited to 'src/render/state.cc')
-rw-r--r-- | src/render/state.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/state.cc b/src/render/state.cc index 83f2704..8cafefe 100644 --- a/src/render/state.cc +++ b/src/render/state.cc @@ -98,11 +98,11 @@ void State::init(int width, int height) con_print << "disabled" << std::endl; // probe maximal number of lights - glGetIntegerv(GL_MAX_LIGHTS, &state_maxlights); + gl::getinteger(GL_MAX_LIGHTS, &state_maxlights); con_debug << " maximum number of OpenGL lights is " << state_maxlights << std::endl; // probe maximal number of texture units - glGetIntegerv(GL_MAX_TEXTURE_UNITS, &state_maxtextureunits); + gl::getinteger(GL_MAX_TEXTURE_UNITS, &state_maxtextureunits); con_debug << " maximum number of OpenGL texture units is " << state_maxtextureunits << std::endl; // Generate VBO |