]> git.sesse.net Git - movit/blobdiff - effect_chain.h
Fix another set of test breakages on NVIDIA.
[movit] / effect_chain.h
index 992fb58da2e172969b178c3ac012746ab4673fe9..716a970a3ab59748e99d94da43b2a9239fdca871 100644 (file)
@@ -400,7 +400,10 @@ public:
        // All destination textures must be exactly of size <width> x <height>,
        // and must either come from the same ResourcePool the effect uses, or outlive
        // the EffectChain (otherwise, we could be allocating FBOs that end up being
        // All destination textures must be exactly of size <width> x <height>,
        // and must either come from the same ResourcePool the effect uses, or outlive
        // the EffectChain (otherwise, we could be allocating FBOs that end up being
-       // stale). width and height can not be zero.
+       // stale). Textures must also have valid state; in particular, they must either
+       // be mipmap complete or have a non-mipmapped minification mode.
+       //
+       // width and height can not be zero.
        struct DestinationTexture {
                GLuint texnum;
                GLenum format;
        struct DestinationTexture {
                GLuint texnum;
                GLenum format;