summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2014-10-04 01:07:30 +0200
committerSean Harmer <sean.harmer@kdab.com>2014-10-04 13:02:12 +0200
commit45c2adc1789f0080d9eba5fd7ef53251d2be0490 (patch)
tree822bc85122b10628c6836301a1234aba3b3e1aa5 /examples
parent4c38388aa6f6154873c68c598f94cd0559e38732 (diff)
Give a fixed size to the FBO in the shadow map example
Change-Id: I3a45ce1c49ef58f6a6bfa2120ab21020e3f7c214 Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/shadow-map-qml/ShadowMapFrameGraph.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/shadow-map-qml/ShadowMapFrameGraph.qml b/examples/shadow-map-qml/ShadowMapFrameGraph.qml
index 4df07822c..b3f2c5d9a 100644
--- a/examples/shadow-map-qml/ShadowMapFrameGraph.qml
+++ b/examples/shadow-map-qml/ShadowMapFrameGraph.qml
@@ -73,8 +73,8 @@ FrameGraph {
texture: Texture {
id: depthTexture
target: Texture.Target2D
- width: _window.width
- height: _window.height
+ width: 1024
+ height: 1024
format: Texture.D32
generateMipMaps: false
magnificationFilter: Texture.Nearest