Neil Roberts fbe9e80a07 cogl: Cache the value for GL_MAX_TEXTURE_UNITS
The function _cogl_get_max_texture_units is called quite often while
rendering and it returns a constant value so we might as well cache
the result. Calling glGetInteger on Mesa can be expensive because it
flushes a lot of state.
2010-02-12 14:38:53 +00:00
..
2009-10-23 13:38:40 +01:00
2009-12-02 11:37:13 +00:00
2010-02-09 16:58:03 +00:00
2010-01-05 18:02:29 +00:00