]> git.tdb.fi Git - libs/gl.git/blobdiff - source/effects/bloom.cpp
Use default member initializers for simple types
[libs/gl.git] / source / effects / bloom.cpp
index e3081d75a8d912e01948b077297389f88cc13478..8a8dea3ed687752ea408c4efdbb4b5ce0f06cc2a 100644 (file)
@@ -1,10 +1,10 @@
 #include <cmath>
 #include <msp/strings/format.h>
-#include "blend.h"
 #include "bloom.h"
-#include "misc.h"
+#include "mesh.h"
 #include "renderer.h"
 #include "resources.h"
+#include "texture2d.h"
 
 using namespace std;
 
@@ -93,11 +93,6 @@ void Bloom::set_debug_name(const string &name)
 }
 
 
-Bloom::Template::Template():
-       radius(2.0f),
-       strength(0.2f)
-{ }
-
 Bloom *Bloom::Template::create(unsigned width, unsigned height) const
 {
        RefPtr<Bloom> bloom = new Bloom(width/size_divisor, height/size_divisor);