]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/sampler.cpp
Remove support for array size specialization from the engine as well
[libs/gl.git] / source / core / sampler.cpp
index 7560029c64642cdef978b147c9d2be5e4263bafe..d45dee54242b9f6ef60b9c2fd7bacdc811a3b2ce 100644 (file)
@@ -46,13 +46,6 @@ void Sampler::set_max_anisotropy(float a)
                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;
@@ -71,6 +64,13 @@ void Sampler::set_wrap_r(TextureWrap 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;