From 71e38995e9902bab6ed4ec4b32a00f51ddefa105 Mon Sep 17 00:00:00 2001 From: William Candillon Date: Wed, 22 May 2024 16:13:23 +0200 Subject: [PATCH] :green_heart: --- package/android/cpp/rnskia-android/SkiaOpenGLSurfaceFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/android/cpp/rnskia-android/SkiaOpenGLSurfaceFactory.cpp b/package/android/cpp/rnskia-android/SkiaOpenGLSurfaceFactory.cpp index 04f73084a2..ae4388ff96 100644 --- a/package/android/cpp/rnskia-android/SkiaOpenGLSurfaceFactory.cpp +++ b/package/android/cpp/rnskia-android/SkiaOpenGLSurfaceFactory.cpp @@ -63,7 +63,7 @@ SkiaOpenGLSurfaceFactory::makeImageFromHardwareBuffer(void *buffer, const_cast(hardwareBuffer), description.width, description.height, &deleteImageProc, &updateImageProc, &deleteImageCtx, false, format, false); - if (!backendTex.isValid()) [[unlikely]] { + if (!backendTex.isValid()) { RNSkLogger::logToConsole( "Failed to convert HardwareBuffer to OpenGL Texture!"); return nullptr;