fix double refcount on compute resources
continuous-integration/drone/push Build is passing Details

pull/50/head
cosmonaut 2024-02-23 10:42:52 -08:00
parent 6f2e4ed6d1
commit 733ca6f650
1 changed files with 2 additions and 2 deletions

View File

@ -3393,7 +3393,7 @@ static void VULKAN_INTERNAL_TrackComputeBuffer(
VulkanCommandBuffer *commandBuffer,
VulkanBuffer *computeBuffer
) {
TRACK_RESOURCE(
ADD_TO_ARRAY_UNIQUE(
computeBuffer,
VulkanBuffer*,
boundComputeBuffers,
@ -3407,7 +3407,7 @@ static void VULKAN_INTERNAL_TrackComputeTexture(
VulkanCommandBuffer *commandBuffer,
VulkanTexture *computeTexture
) {
TRACK_RESOURCE(
ADD_TO_ARRAY_UNIQUE(
computeTexture,
VulkanTexture*,
boundComputeTextures,