]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/sampler.cpp
Use default member initializers for simple types
[libs/gl.git] / source / core / sampler.cpp
index 6f4770acb4e40a73ea6270bfeabcbeeec273fcc8..6658ef9ac75d05a8b1016a84afb6847404b196d7 100644 (file)
@@ -7,19 +7,6 @@ using namespace std;
 namespace Msp {
 namespace GL {
 
-Sampler::Sampler():
-       min_filter(NEAREST_MIPMAP_LINEAR),
-       mag_filter(LINEAR),
-       max_anisotropy(1.0f),
-       wrap_s(REPEAT),
-       wrap_t(REPEAT),
-       wrap_r(REPEAT),
-       border_color(Color(0.0f, 0.0f, 0.0f, 0.0f)),
-       compare(false),
-       cmp_func(LEQUAL),
-       dirty_params(0)
-{ }
-
 void Sampler::update() const
 {
        SamplerBackend::update(dirty_params);