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

Commit 1e0ec09f authored by Nicolas Capens's avatar Nicolas Capens Committed by Gerrit Code Review
Browse files

Merge "Fix setting the dequeueBuffer timeout to -1"

parents 64eff6c1 147b7dad
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1088,7 +1088,8 @@ VkResult CreateSwapchainKHR(VkDevice device,
    ALOGW_IF(err != android::OK, "native_window_api_connect failed: %s (%d)",
             strerror(-err), err);

    err = window->perform(window, NATIVE_WINDOW_SET_DEQUEUE_TIMEOUT, -1);
    err =
        window->perform(window, NATIVE_WINDOW_SET_DEQUEUE_TIMEOUT, nsecs_t{-1});
    if (err != android::OK) {
        ALOGE("window->perform(SET_DEQUEUE_TIMEOUT) failed: %s (%d)",
              strerror(-err), err);