mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-14 12:04:29 +00:00
common picture: remove unused variable.
This commit is contained in:
parent
1d4db59a25
commit
d3f3a50309
2 changed files with 1 additions and 7 deletions
|
@ -26,7 +26,7 @@
|
|||
/* External Class Implementation */
|
||||
/************************************************************************/
|
||||
|
||||
Picture::Picture() : pImpl(new Impl(this))
|
||||
Picture::Picture() : pImpl(new Impl)
|
||||
{
|
||||
Paint::pImpl->id = TVG_CLASS_ID_PICTURE;
|
||||
Paint::pImpl->method(new PaintMethod<Picture::Impl>(pImpl));
|
||||
|
|
|
@ -63,16 +63,10 @@ struct Picture::Impl
|
|||
|
||||
Paint* paint = nullptr; //vector picture uses
|
||||
Surface* surface = nullptr; //bitmap picture uses
|
||||
|
||||
Picture* picture = nullptr;
|
||||
void* rdata = nullptr; //engine data
|
||||
float w = 0, h = 0;
|
||||
bool resizing = false;
|
||||
|
||||
Impl(Picture* p) : picture(p)
|
||||
{
|
||||
}
|
||||
|
||||
~Impl()
|
||||
{
|
||||
if (paint) delete(paint);
|
||||
|
|
Loading…
Add table
Reference in a new issue