]> git.sesse.net Git - movit/blobdiff - ycbcr_input.cpp
Remove the finalize() member function from Input.
[movit] / ycbcr_input.cpp
index 6e73d3e2015e219e0fc7f1b7a3961515db96e146..476f083af05d1ad9b5f26c1fd1b9a60a3393738b 100644 (file)
@@ -63,7 +63,6 @@ YCbCrInput::YCbCrInput(const ImageFormat &image_format,
                        unsigned width, unsigned height)
        : image_format(image_format),
          ycbcr_format(ycbcr_format),
-         finalized(false),
          needs_mipmaps(false),
          width(width),
          height(height),
@@ -96,11 +95,6 @@ YCbCrInput::~YCbCrInput()
        }
 }
 
-void YCbCrInput::finalize()
-{
-       finalized = true;
-}
-       
 void YCbCrInput::set_gl_state(GLuint glsl_program_num, const string& prefix, unsigned *sampler_num)
 {
        for (unsigned channel = 0; channel < 3; ++channel) {