mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Qt: release scaled pixmaps from memory if possible
This commit is contained in:
parent
4d70c483b2
commit
2fb68bfc03
3 changed files with 16 additions and 5 deletions
|
|
@ -114,6 +114,11 @@ movie_item* game_list_grid::addItem(const game_info& app, const QString& name, c
|
|||
painter.drawImage(offset, bg_img);
|
||||
painter.drawPixmap(offset, app->pxmap);
|
||||
|
||||
if (!app->has_hover_gif)
|
||||
{
|
||||
app->pxmap = {};
|
||||
}
|
||||
|
||||
if (movie)
|
||||
{
|
||||
movie->stop();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue