Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Goers <mega@osirion.org>2012-11-26 07:33:32 +0000
committerEvan Goers <mega@osirion.org>2012-11-26 07:33:32 +0000
commit7a5b8cc4b9f7343db13491941088c95c96833c18 (patch)
tree6d9c5e879c3ae1bc1b66ca1559e36d01f5c10826 /src/render/state.cc
parenta3a57df0be5c9d1d4ebbd153cabadbca48d16e79 (diff)
More gl::-ization.
Diffstat (limited to 'src/render/state.cc')
-rw-r--r--src/render/state.cc4
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