]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/sampler.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / core / sampler.h
index 7cf3d83a7b0915481eef1417e2fe48c0a1e8bcee..c9f8ec963bd462ea3bf978a3990b0ee481d55986 100644 (file)
@@ -125,15 +125,16 @@ public:
        than 1, filtering will consider more than than four samples when the texture
        is drawn at an oblique angle. */
        void set_max_anisotropy(float);
-       float get_max_anisotropy() const { return max_anisotropy; }
 
-       /** Sets the wrapping mode for all coordinates. */
-       void set_wrap(TextureWrap);
+       float get_max_anisotropy() const { return max_anisotropy; }
 
        void set_wrap_s(TextureWrap);
        void set_wrap_t(TextureWrap);
        void set_wrap_r(TextureWrap);
 
+       /** Sets the wrapping mode for all coordinates. */
+       void set_wrap(TextureWrap);
+
        /** Sets the border color for CLAMP_TO_BORDER wrap mode. */
        void set_border_color(const Color &);