]> git.sesse.net Git - movit/blobdiff - ycbcr_input.cpp
Implement the texture freelist in ResourcePool.
[movit] / ycbcr_input.cpp
index 2a67ea7158f483cee4a8f25c7bc233df6beab83f..eebb864c4ed49e7b9d6a61a68f8b2e2f95487ca5 100644 (file)
@@ -6,6 +6,7 @@
 #include <string.h>
 
 #include "effect_util.h"
+#include "resource_pool.h"
 #include "util.h"
 #include "ycbcr_input.h"
 
@@ -65,7 +66,8 @@ YCbCrInput::YCbCrInput(const ImageFormat &image_format,
          finalized(false),
          needs_mipmaps(false),
          width(width),
-         height(height)
+         height(height),
+         resource_pool(NULL)
 {
        pbos[0] = pbos[1] = pbos[2] = 0;
        texture_num[0] = texture_num[1] = texture_num[2] = 0;