initialize image data.
This commit is contained in:
parent
0c170b0897
commit
188d766757
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user