Skip to content

Commit 5e57c8f

Browse files
anholtcharles-lunarg
authored andcommitted
cube: Drop redundant check for GOOGLE_display_timing_enabled
That's already the check for the block we're under.
1 parent 99491e2 commit 5e57c8f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cube/cube.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,9 +1333,7 @@ static void demo_draw(struct demo *demo) {
13331333
.pTimes = &ptime,
13341334
};
13351335

1336-
if (demo->VK_GOOGLE_display_timing_enabled) {
1337-
present.pNext = &present_time;
1338-
}
1336+
present.pNext = &present_time;
13391337
}
13401338

13411339
err = vkQueuePresentKHR(demo->present_queue, &present);

0 commit comments

Comments
 (0)