Forráskód Böngészése

Use C++ style comments in new code

Sam Lantinga 1 éve
szülő
commit
d4f4aa745a
1 módosított fájl, 3 hozzáadás és 3 törlés
  1. 3 3
      test/testffmpeg_vulkan.c

+ 3 - 3
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));
     }