]> O.S.I.I.S - jp/vkvg.git/commitdiff
debug
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Mon, 23 Apr 2018 15:30:56 +0000 (17:30 +0200)
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Mon, 23 Apr 2018 15:30:56 +0000 (17:30 +0200)
tests/vkengine.c

index c08e57b08a1f4c46c93730755b160d059dfa2f5e..cd3c830a0a2e97f0debb0f18cf41f0a4b7bd28a9 100644 (file)
@@ -393,7 +393,7 @@ void draw(VkEngine* e, VkImage blitSource) {
                                 &r->currentScBufferIndex);
     if ((err == VK_ERROR_OUT_OF_DATE_KHR) || (err == VK_SUBOPTIMAL_KHR)){
         vke_swapchain_create(e);
-        vke_init_blit_renderer(r, blitSource);
+        vke_init_blit_renderer(e, blitSource);
     }else{
         VK_CHECK_RESULT(err);
         submitCommandBuffer (r->queue, &r->cmdBuffs[r->currentScBufferIndex], &r->semaPresentEnd, &r->semaDrawEnd);