dirty_params |= MAX_ANISOTROPY;
}
-void Sampler::set_wrap(TextureWrap w)
-{
- set_wrap_s(w);
- set_wrap_t(w);
- set_wrap_r(w);
-}
-
void Sampler::set_wrap_s(TextureWrap w)
{
wrap_s = w;
dirty_params |= WRAP_R;
}
+void Sampler::set_wrap(TextureWrap w)
+{
+ set_wrap_s(w);
+ set_wrap_t(w);
+ set_wrap_r(w);
+}
+
void Sampler::set_border_color(const Color &c)
{
border_color = c;