move count param on REFRESH_Submit
parent
788c63f3ac
commit
5a92fdf984
|
@ -1333,8 +1333,8 @@ REFRESHAPI void REFRESH_QueuePresent(
|
|||
/* Submits all of the enqueued commands. */
|
||||
REFRESHAPI void REFRESH_Submit(
|
||||
REFRESH_Device* device,
|
||||
REFRESH_CommandBuffer **pCommandBuffers,
|
||||
uint32_t commandBufferCount
|
||||
uint32_t commandBufferCount,
|
||||
REFRESH_CommandBuffer **pCommandBuffers
|
||||
);
|
||||
|
||||
/* Waits for the previous submission to complete. */
|
||||
|
|
|
@ -875,14 +875,14 @@ void REFRESH_QueuePresent(
|
|||
|
||||
void REFRESH_Submit(
|
||||
REFRESH_Device *device,
|
||||
REFRESH_CommandBuffer **pCommandBuffers,
|
||||
uint32_t commandBufferCount
|
||||
uint32_t commandBufferCount,
|
||||
REFRESH_CommandBuffer **pCommandBuffers
|
||||
) {
|
||||
NULL_RETURN(device);
|
||||
device->Submit(
|
||||
device->driverData,
|
||||
pCommandBuffers,
|
||||
commandBufferCount
|
||||
commandBufferCount,
|
||||
pCommandBuffers
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -518,8 +518,8 @@ struct REFRESH_Device
|
|||
|
||||
void(*Submit)(
|
||||
REFRESH_Renderer *driverData,
|
||||
REFRESH_CommandBuffer **pCommandBuffers,
|
||||
uint32_t commandBufferCount
|
||||
uint32_t commandBufferCount,
|
||||
REFRESH_CommandBuffer **pCommandBuffers
|
||||
);
|
||||
|
||||
void(*Wait)(
|
||||
|
|
|
@ -1456,7 +1456,7 @@ typedef struct VulkanRenderer
|
|||
/* Forward declarations */
|
||||
|
||||
static void VULKAN_INTERNAL_BeginCommandBuffer(VulkanRenderer *renderer, VulkanCommandBuffer *commandBuffer);
|
||||
static void VULKAN_Submit(REFRESH_Renderer *driverData, REFRESH_CommandBuffer **pCommandBuffers, uint32_t commandBufferCount);
|
||||
static void VULKAN_Submit(REFRESH_Renderer *driverData, uint32_t commandBufferCount, REFRESH_CommandBuffer **pCommandBuffers);
|
||||
static void VULKAN_INTERNAL_FlushTransfers(VulkanRenderer *renderer);
|
||||
|
||||
/* Error Handling */
|
||||
|
@ -8156,8 +8156,8 @@ static void VULKAN_INTERNAL_ResetCommandBuffer(
|
|||
|
||||
static void VULKAN_Submit(
|
||||
REFRESH_Renderer *driverData,
|
||||
REFRESH_CommandBuffer **pCommandBuffers,
|
||||
uint32_t commandBufferCount
|
||||
uint32_t commandBufferCount,
|
||||
REFRESH_CommandBuffer **pCommandBuffers
|
||||
) {
|
||||
VulkanRenderer* renderer = (VulkanRenderer*)driverData;
|
||||
VkSubmitInfo transferSubmitInfo, submitInfo;
|
||||
|
|
Loading…
Reference in New Issue