Sfoglia il codice sorgente

Experiment with mipmap scaling

Donald Carr 8 anni fa
parent
commit
8cca05e74e
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 1 0
      qml/common/ArtImage.qml
  2. 1 1
      qml/main.qml

+ 1 - 0
qml/common/ArtImage.qml

@@ -26,6 +26,7 @@ Item {
 
         mirror: globalSettings.randomlyMirrorArt && (Math.random() < 0.5)
         smooth: globalSettings.smoothArt
+        mipmap: !globalSettings.smoothArt
 
         sourceSize.height: globalVars.imageWidthOverride > 0 ? Math.ceil(globalVars.imageWidthOverride/imageModel.data(modelIndex, PictureModel.RatioRole)) : height
         sourceSize.width: globalVars.imageWidthOverride > 0 ? globalVars.imageWidthOverride : width

+ 1 - 1
qml/main.qml

@@ -117,7 +117,7 @@ Window {
         property bool showScreenResolution: false
         property string effect: ""
         property string view: "Reel"
-        property bool smoothArt: true
+        property bool smoothArt: false
         property bool randomlyMirrorArt: false
         property bool fullscreen: true