diff options
Diffstat (limited to 'src/render/state.h')
-rw-r--r-- | src/render/state.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/state.h b/src/render/state.h index cda64d5..ea55602 100644 --- a/src/render/state.h +++ b/src/render/state.h @@ -104,6 +104,9 @@ public: inline static int max_lights() { return state_maxlights; } + inline static int max_textureunits() { + return state_maxtextureunits; + } static void set_normalize(const bool enable=true); @@ -116,6 +119,7 @@ private: static bool state_has_vbo; static GLuint state_vbo; static int state_maxlights; + static int state_maxtextureunits; static math::Color state_color_primary; // current primary color static math::Color state_color_secondary; // current secondary color |