From d4f4aa745a9d9c280d5016322a2473c9d2e077a0 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 5 Mar 2024 04:46:21 -0800 Subject: [PATCH] Use C++ style comments in new code --- test/testffmpeg_vulkan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/testffmpeg_vulkan.c b/test/testffmpeg_vulkan.c index 6f1ebca923..397b77919c 100644 --- a/test/testffmpeg_vulkan.c +++ b/test/testffmpeg_vulkan.c @@ -841,7 +841,7 @@ int BeginVulkanFrameRendering(VulkanVideoContext *context, AVFrame *frame, SDL_R VkResult result = context->vkQueueSubmit(context->graphicsQueue, 1, &submitInfo, 0); if (result != VK_SUCCESS) { - /* Don't return an error here, we need to complete the frame operation */ + // Don't return an error here, we need to complete the frame operation SDL_LogError(SDL_LOG_CATEGORY_APPLICATION , "vkQueueSubmit(): %s", getVulkanResultString(result)); } @@ -856,7 +856,7 @@ int FinishVulkanFrameRendering(VulkanVideoContext *context, AVFrame *frame, SDL_ AVVulkanFramesContext *vk = (AVVulkanFramesContext *)(frames->hwctx); AVVkFrame *pVkFrame = (AVVkFrame *)frame->data[0]; - /* Transition the frame back to ffmpeg */ + // Transition the frame back to ffmpeg ++pVkFrame->sem_value[0]; VkTimelineSemaphoreSubmitInfo timeline = { 0 }; @@ -876,7 +876,7 @@ int FinishVulkanFrameRendering(VulkanVideoContext *context, AVFrame *frame, SDL_ VkResult result = context->vkQueueSubmit(context->graphicsQueue, 1, &submitInfo, 0); if (result != VK_SUCCESS) { - /* Don't return an error here, we need to complete the frame operation */ + // Don't return an error here, we need to complete the frame operation SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "vkQueueSubmit(): %s", getVulkanResultString(result)); }