When the player is used in OpenGL mode, pass unscaled XYZ data through to the shader...
[dcpomatic.git] / src / lib / j2k_image_proxy.cc
index 144da396d24ee619970c679de49731378a69963c..c98273ad20043ed3cd81fc6ef81e3ffa5ac771fb 100644 (file)
@@ -145,7 +145,7 @@ J2KImageProxy::prepare (optional<dcp::Size> target_size) const
        try {
                /* XXX: should check that potentially trashing _data here doesn't matter */
                auto decompressed = dcp::decompress_j2k (const_cast<uint8_t*>(_data->data()), _data->size(), reduce);
-               _image.reset (new Image (_pixel_format, decompressed->size(), true));
+               _image.reset (new Image (_pixel_format, decompressed->size(), false));
 
                int const shift = 16 - decompressed->precision (0);