diff options
Diffstat (limited to 'src/quick/scenegraph/qsgrhilayer.cpp')
-rw-r--r-- | src/quick/scenegraph/qsgrhilayer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/scenegraph/qsgrhilayer.cpp b/src/quick/scenegraph/qsgrhilayer.cpp index 003ffaf5ea..4abd54fe94 100644 --- a/src/quick/scenegraph/qsgrhilayer.cpp +++ b/src/quick/scenegraph/qsgrhilayer.cpp @@ -72,9 +72,9 @@ void QSGRhiLayer::invalidated() m_renderer = nullptr; } -int QSGRhiLayer::comparisonKey() const +qint64 QSGRhiLayer::comparisonKey() const { - return int(qintptr(m_texture)); + return qint64(m_texture); } bool QSGRhiLayer::hasAlphaChannel() const |