]> git.sesse.net Git - movit/blobdiff - ycbcr_input.cpp
Implement the texture freelist in ResourcePool.
[movit] / ycbcr_input.cpp
index 87140be7828064535972aa10d75cb4675ba11124..eebb864c4ed49e7b9d6a61a68f8b2e2f95487ca5 100644 (file)
@@ -66,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;