Skip to content
Snippets Groups Projects
Commit 90306882 authored by Armin Co's avatar Armin Co
Browse files

Bugifx RefPtr.

parent d5e99254
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ Glib::RefPtr<Gdk::Pixbuf> ParticleImage::getPixbuf()
}
Glib::RefPtr<Gdk::Pixbuf> pb = Gdk::Pixbuf::create_from_data(m_pixbuf, Gdk::Colorspace::COLORSPACE_RGB, true, 8, QPong::arrayWidth, QPong::arrayHeight, QPong::arrayWidth * 4);
pb = pb.get()->scale_simple(768, 768, Gdk::InterpType::INTERP_NEAREST);
pb = pb->scale_simple(768, 768, Gdk::InterpType::INTERP_NEAREST);
return pb;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment