Skip to content

Commit

Permalink
Add more validation data
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Sep 22, 2024
1 parent f8aa9e0 commit ca2333e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/kope/graphics5/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ void kope_g5_device_set_name(kope_g5_device *device, const char *name) {
}

void kope_g5_device_create_buffer(kope_g5_device *device, const kope_g5_buffer_parameters *parameters, kope_g5_buffer *buffer) {
#ifdef KOPE_G5_VALIDATION
buffer->usage_flags = parameters->usage_flags;
#endif
KOPE_G5_CALL3(device_create_buffer, device, parameters, buffer);
}

Expand Down

0 comments on commit ca2333e

Please sign in to comment.