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

Commit b04952f6 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix the behavior of vulkan::driver::Debuggable() function"

parents d50863b1 0f9d717a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -754,7 +754,7 @@ void FreeDeviceData(DeviceData* data, const VkAllocationCallbacks& allocator) {
}  // anonymous namespace

bool Debuggable() {
    return (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) >= 0);
    return prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) > 0;
}

bool OpenHAL() {