13
0

initialize image data.

This commit is contained in:
Robin Gareus 2013-04-20 22:06:12 +02:00
parent 0c170b0897
commit 188d766757

View File

@ -29,6 +29,8 @@ Image::Image (Group* group, Cairo::Format fmt, int width, int height)
, _height (height)
, _need_render (false)
{
boost::shared_ptr<Data> d0 (new Data (NULL, 0, 0, 0, _format)); _current = d0;
boost::shared_ptr<Data> d1 (new Data (NULL, 0, 0, 0, _format)); _pending = d1;
DataReady.connect (data_connections, MISSING_INVALIDATOR, boost::bind (&Image::accept_data, this), gui_context());
}