From 0c3355fa0fb047f5273c550c59d48e44b99ff49b Mon Sep 17 00:00:00 2001 From: Peter Hartmann Date: Tue, 7 Jun 2022 11:18:11 +0200 Subject: [PATCH] Gallery: Use raster for textures --- examples/gallery/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/gallery/main.cpp b/examples/gallery/main.cpp index 8e8d622b..1073dfef 100644 --- a/examples/gallery/main.cpp +++ b/examples/gallery/main.cpp @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -161,6 +162,8 @@ int main( int argc, char* argv[] ) QGuiApplication app( argc, argv ); + qskSetup->setItemUpdateFlag( QskQuickItem::PreferRasterForTextures, true ); + SkinnyShortcut::enable( SkinnyShortcut::AllShortcuts ); auto mainView = new ApplicationView();