mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader: Replace assert() with VKD3D_ASSERT() in checksum.c.
This commit is contained in:
parent
ba381497cc
commit
5af138b247
Notes:
Henri Verbeet
2024-07-30 16:38:27 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/970
@ -288,7 +288,7 @@ void vkd3d_compute_dxbc_checksum(const void *dxbc, size_t size, uint32_t checksu
|
||||
const uint8_t *ptr = dxbc;
|
||||
struct md5_ctx ctx;
|
||||
|
||||
assert(size > DXBC_CHECKSUM_SKIP_BYTE_COUNT);
|
||||
VKD3D_ASSERT(size > DXBC_CHECKSUM_SKIP_BYTE_COUNT);
|
||||
ptr += DXBC_CHECKSUM_SKIP_BYTE_COUNT;
|
||||
size -= DXBC_CHECKSUM_SKIP_BYTE_COUNT;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user