]> git.sesse.net Git - movit/blobdiff - ycbcr_input_test.cpp
Add explicit support for requesting no mipmaps.
[movit] / ycbcr_input_test.cpp
index f90ffb7b642de294d778744a42b5df622cd788ae..a1415c98eacd184a1f43faa7ff384122288ef16e 100644 (file)
@@ -1004,7 +1004,7 @@ TEST(YCbCrInputTest, TenBitPlanar) {
 class MipmapNeedingEffect : public Effect {
 public:
        MipmapNeedingEffect() {}
-       bool needs_mipmaps() const override { return true; }
+       MipmapRequirements needs_mipmaps() const override { return NEEDS_MIPMAPS; }
 
        // To be allowed to mess with the sampler state.
        bool needs_texture_bounce() const override { return true; }