aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/util/qsgopenglatlastexture_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/scenegraph/util/qsgopenglatlastexture_p.h')
-rw-r--r--src/quick/scenegraph/util/qsgopenglatlastexture_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/scenegraph/util/qsgopenglatlastexture_p.h b/src/quick/scenegraph/util/qsgopenglatlastexture_p.h
index a81c62ad63..d9d9d3175e 100644
--- a/src/quick/scenegraph/util/qsgopenglatlastexture_p.h
+++ b/src/quick/scenegraph/util/qsgopenglatlastexture_p.h
@@ -103,7 +103,7 @@ public:
void invalidate();
- int comparisonKey() const { return m_texture_id; }
+ qint64 comparisonKey() const { return m_texture_id; }
int textureId() const;
void bind(QSGTexture::Filtering filtering);
@@ -159,7 +159,7 @@ public:
TextureBase(AtlasBase *atlas, const QRect &textureRect);
~TextureBase();
- int comparisonKey() const override;
+ qint64 comparisonKey() const override;
int textureId() const override { return m_atlas->textureId(); }
bool isAtlasTexture() const override { return true; }