Skip to content

Commit 6d9acfb

Browse files
fix: resource manager staging flags
1 parent 4b2cb7a commit 6d9acfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/pl_resource_ext.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ pl__resource_create_staging_buffer(size_t szSize)
209209

210210
// create staging buffers
211211
const plBufferDesc tStagingBufferDesc = {
212-
.tUsage = PL_BUFFER_USAGE_TRANSFER_SOURCE,
212+
.tUsage = PL_BUFFER_USAGE_TRANSFER_SOURCE | PL_BUFFER_USAGE_TRANSFER_DESTINATION,
213213
.szByteSize = pl_max(268435456, szSize),
214214
.pcDebugName = "Resource Staging Buffer"
215215
};

0 commit comments

Comments
 (0)