From 7a5b8cc4b9f7343db13491941088c95c96833c18 Mon Sep 17 00:00:00 2001 From: Evan Goers Date: Mon, 26 Nov 2012 07:33:32 +0000 Subject: More gl::-ization. --- src/render/state.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/render/state.cc') 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 -- cgit v1.2.3