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;