Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7409b14 authored by Noelle Scobie's avatar Noelle Scobie Committed by Android (Google) Code Review
Browse files

Merge "Fix RE VulkanInterface's VK_CHECK macro's error message" into main

parents 4dc243b3 dc97866d
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -205,8 +205,8 @@ static skgpu::VulkanGetProc sGetProc = [](const char* proc_name,
    }

#define VK_CHECK(expr)                                    \
    if ((expr) != VK_SUCCESS) {                     \
        BAIL("[%s] failed. err = %d", #expr, expr); \
    if (VkResult result = (expr); result != VK_SUCCESS) { \
        BAIL("[%s] failed. err = %d", #expr, result);     \
        return;                                           \
    }