aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/metaltextureimport/metaltextureimport.mm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/scenegraph/metaltextureimport/metaltextureimport.mm')
-rw-r--r--examples/quick/scenegraph/metaltextureimport/metaltextureimport.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/scenegraph/metaltextureimport/metaltextureimport.mm b/examples/quick/scenegraph/metaltextureimport/metaltextureimport.mm
index 61f5e7f8e1..e676ff2e5e 100644
--- a/examples/quick/scenegraph/metaltextureimport/metaltextureimport.mm
+++ b/examples/quick/scenegraph/metaltextureimport/metaltextureimport.mm
@@ -264,7 +264,7 @@ void CustomTextureNode::sync()
[desc release];
QSGTexture *wrapper = m_window->createTextureFromNativeObject(QQuickWindow::NativeObjectTexture,
- &m_texture,
+ quint64(m_texture),
0,
m_size);