From dec1a27c33c38e6d89c71c79b7d950f98cb44324 Mon Sep 17 00:00:00 2001 From: Ian Elliott <ianelliott@google.com> Date: Tue, 28 Mar 2017 11:10:18 -0600 Subject: [PATCH] cube: Remove most DbgMsg usage of the VK_KHR_incremental_present extension The only DbgMsg messages left tell the user, if they use "--incremental_present", whether the functionality is actually being used, or if the VK_KHR_incremental_present extension isn't available. NOTE: When somebody wants to see all of the DbgMsg messages, they should use "git revert" with this commit. --- demos/cube.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/demos/cube.c b/demos/cube.c index 65704730f..10ec60d4d 100644 --- a/demos/cube.c +++ b/demos/cube.c @@ -1075,19 +1075,6 @@ static void demo_draw(struct demo *demo) { .pRegions = ®ion, }; present.pNext = ®ions; - DbgMsg("present = %p, present.pNext = %p, regions = %p, regions.pNext = %p\n", - &present, - present.pNext, - ®ions, - regions.pNext); - DbgMsg("Present Rectangle has offset: (%d, %d) and extent: (%d, %d)\n", - regions.pRegions->pRectangles->offset.x, - regions.pRegions->pRectangles->offset.y, - regions.pRegions->pRectangles->extent.width, - regions.pRegions->pRectangles->extent.height); - DbgMsg("regions = %p, regions.pRegions = %p, " - "regions.pRegions->pRectangles = %p\n", - ®ions, regions.pRegions, regions.pRegions->pRectangles); } if (demo->VK_GOOGLE_display_timing_enabled) { -- GitLab