libkwineffects: Make Texture export mode default in OffscreenQuickView

Mainly, only aurorae decoration theme needs image export mode. All other
usecases use texture export mode.
This commit is contained in:
Vlad Zahorodnii 2023-10-23 18:36:44 +03:00
parent 5d925799d7
commit 364afe0f69
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ public:
};
OffscreenQuickView::OffscreenQuickView(QObject *parent)
: OffscreenQuickView(effects ? ExportMode::Texture : ExportMode::Image, parent)
: OffscreenQuickView(ExportMode::Texture, parent)
{
}

View file

@ -65,7 +65,7 @@ public:
/**
* Construct a new KWinQuickView explicitly stating an export mode
*/
explicit OffscreenQuickView(ExportMode exportMode, QObject *parent = nullptr);
explicit OffscreenQuickView(ExportMode exportMode = ExportMode::Texture, QObject *parent = nullptr);
/**
* Note that this may change the current GL Context