[Bf-blender-cvs] [7d691969e61] temp-ghost-vulkan: Remove (void) parameters from GHOST_ContextVK.

Jeroen Bakker noreply at git.blender.org
Fri Nov 18 11:45:32 CET 2022


Commit: 7d691969e61ccd32e3241ee27436304df18e90b5
Author: Jeroen Bakker
Date:   Fri Nov 18 11:28:14 2022 +0100
Branches: temp-ghost-vulkan
https://developer.blender.org/rB7d691969e61ccd32e3241ee27436304df18e90b5

Remove (void) parameters from GHOST_ContextVK.

===================================================================

M	intern/ghost/intern/GHOST_ContextVK.cpp
M	intern/ghost/intern/GHOST_ContextVK.h

===================================================================

diff --git a/intern/ghost/intern/GHOST_ContextVK.cpp b/intern/ghost/intern/GHOST_ContextVK.cpp
index a9152a005e2..9a226dc9e61 100644
--- a/intern/ghost/intern/GHOST_ContextVK.cpp
+++ b/intern/ghost/intern/GHOST_ContextVK.cpp
@@ -169,7 +169,7 @@ GHOST_ContextVK::~GHOST_ContextVK()
   }
 }
 
-GHOST_TSuccess GHOST_ContextVK::destroySwapchain(void)
+GHOST_TSuccess GHOST_ContextVK::destroySwapchain()
 {
   if (m_device != VK_NULL_HANDLE) {
     vkDeviceWaitIdle(m_device);
@@ -613,7 +613,7 @@ static GHOST_TSuccess selectPresentMode(VkPhysicalDevice device,
   return GHOST_kFailure;
 }
 
-GHOST_TSuccess GHOST_ContextVK::createCommandBuffers(void)
+GHOST_TSuccess GHOST_ContextVK::createCommandBuffers()
 {
   m_command_buffers.resize(m_swapchain_image_views.size());
 
@@ -635,7 +635,7 @@ GHOST_TSuccess GHOST_ContextVK::createCommandBuffers(void)
   return GHOST_kSuccess;
 }
 
-GHOST_TSuccess GHOST_ContextVK::createSwapchain(void)
+GHOST_TSuccess GHOST_ContextVK::createSwapchain()
 {
   m_swapchain_id++;
 
diff --git a/intern/ghost/intern/GHOST_ContextVK.h b/intern/ghost/intern/GHOST_ContextVK.h
index 0520466e04d..e26808cc317 100644
--- a/intern/ghost/intern/GHOST_ContextVK.h
+++ b/intern/ghost/intern/GHOST_ContextVK.h
@@ -198,8 +198,8 @@ class GHOST_ContextVK : public GHOST_Context {
 
   const char *getPlatformSpecificSurfaceExtension() const;
   GHOST_TSuccess pickPhysicalDevice(std::vector<const char *> required_exts);
-  GHOST_TSuccess createSwapchain(void);
-  GHOST_TSuccess destroySwapchain(void);
-  GHOST_TSuccess createCommandBuffers(void);
-  GHOST_TSuccess recordCommandBuffers(void);
+  GHOST_TSuccess createSwapchain();
+  GHOST_TSuccess destroySwapchain();
+  GHOST_TSuccess createCommandBuffers();
+  GHOST_TSuccess recordCommandBuffers();
 };



More information about the Bf-blender-cvs mailing list