]> git.sesse.net Git - movit/blobdiff - mix_effect_test.cpp
Use the right internal format for FORMAT_R non-float textures.
[movit] / mix_effect_test.cpp
index 096ecd5ae03169ee5e9052bfe2207a0140cc6f53..7e54ca5690c6777540afa47c447116c028b1eebf 100644 (file)
@@ -1,8 +1,15 @@
 // Unit tests for MixEffect.
 
-#include "test_util.h"
+#include <epoxy/gl.h>
+
+#include "effect_chain.h"
 #include "gtest/gtest.h"
+#include "image_format.h"
+#include "input.h"
 #include "mix_effect.h"
+#include "test_util.h"
+
+namespace movit {
 
 TEST(MixEffectTest, FiftyFiftyMix) {
        float data_a[] = {
@@ -133,3 +140,5 @@ TEST(MixEffectTest, MixesLinearlyDespitesRGBInputsAndOutputs) {
 
        expect_equal(expected_data, out_data, 2, 2);
 }
+
+}  // namespace movit