diff --git a/WebARonARKit/WebARonARKit/Renderer.m b/WebARonARKit/WebARonARKit/Renderer.m index d1e4aec..ccb9290 100644 --- a/WebARonARKit/WebARonARKit/Renderer.m +++ b/WebARonARKit/WebARonARKit/Renderer.m @@ -513,7 +513,7 @@ - (void)_updateCapturedImageTexturesWithFrame:(ARFrame *)frame { const size_t width = CVPixelBufferGetWidthOfPlane(pixelBuffer, planeIndex); const size_t height = CVPixelBufferGetHeightOfPlane(pixelBuffer, planeIndex); - + CVMetalTextureRef texture = NULL; CVReturn status = CVMetalTextureCacheCreateTextureFromImage( NULL, _capturedImageTextureCache, pixelBuffer, NULL, pixelFormat, width, height, planeIndex,