-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
-void Renderer::set_texturing(const Texturing *t)
-{
- if(t)
- {
- unsigned n_units = TexUnit::get_n_units();
- for(unsigned i=0; i<n_units; ++i)
- if(const Texture *tex = t->get_attached_texture(i))
- set_texture(Tag(), i, tex, t->get_attached_sampler(i));
- }
-}
-#pragma GCC diagnostic pop
-
-unsigned Renderer::allocate_effect_texunit()
-{
- return --state->lowest_effect_texunit;
-}
-