diff options
Diffstat (limited to 'tests/manual/rhi/texuploads/texuploads.cpp')
-rw-r--r-- | tests/manual/rhi/texuploads/texuploads.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/rhi/texuploads/texuploads.cpp b/tests/manual/rhi/texuploads/texuploads.cpp index a6b7d87d3e..b6500c3fc3 100644 --- a/tests/manual/rhi/texuploads/texuploads.cpp +++ b/tests/manual/rhi/texuploads/texuploads.cpp @@ -241,7 +241,7 @@ void Window::customRender() if (nativeTexture.object) { #if defined(Q_OS_MACOS) || defined(Q_OS_IOS) if (graphicsApi == Metal) { - qDebug() << "Metal texture: " << *(void**)nativeTexture.object; + qDebug() << "Metal texture: " << nativeTexture.object; // Now could cast to id<MTLTexture> and do something with // it, keeping in mind that copy operations are only done // in beginPass, while rendering into a texture may only |