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:
parent
5d925799d7
commit
364afe0f69
2 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
OffscreenQuickView::OffscreenQuickView(QObject *parent)
|
OffscreenQuickView::OffscreenQuickView(QObject *parent)
|
||||||
: OffscreenQuickView(effects ? ExportMode::Texture : ExportMode::Image, parent)
|
: OffscreenQuickView(ExportMode::Texture, parent)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* Construct a new KWinQuickView explicitly stating an export mode
|
* 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
|
* Note that this may change the current GL Context
|
||||||
|
|
Loading…
Reference in a new issue