summaryrefslogtreecommitdiffstats
path: root/src/render/graphicshelpers/graphicscontext_p.h
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2015-11-06 13:33:45 +0100
committerMike Krus <mike.krus@kdab.com>2016-01-21 10:57:01 +0000
commitc71faa27e6173255356df2e34050b8af15e4585b (patch)
tree424b9eea279f4403184998e49758651da134a532 /src/render/graphicshelpers/graphicscontext_p.h
parent5d921dda57bff431487e6f1d64ef5111d464655d (diff)
Updated picking-qml example
handle device pixel ratio and none full-window Scene3D Change-Id: Iadc504a00816d9363847bf9ec1e09d4b7c631666 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/graphicshelpers/graphicscontext_p.h')
-rw-r--r--src/render/graphicshelpers/graphicscontext_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/graphicshelpers/graphicscontext_p.h b/src/render/graphicshelpers/graphicscontext_p.h
index 51e6c8bc4..090f05937 100644
--- a/src/render/graphicshelpers/graphicscontext_p.h
+++ b/src/render/graphicshelpers/graphicscontext_p.h
@@ -106,7 +106,7 @@ public:
void clearBackBuffer(QClearBuffer::BufferType buffers);
void endDrawing(bool swapBuffers);
- void setViewport(const QRectF &viewport);
+ void setViewport(const QRectF &viewport, const QSize &surfaceSize);
QRectF viewport() const { return m_viewport; }
/**