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 preproc.y.
This commit is contained in:
parent
625327653b
commit
46aec9fba8
Notes:
Henri Verbeet
2024-08-05 16:15:48 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/976
@ -119,7 +119,7 @@ bool preproc_add_macro(struct preproc_ctx *ctx, const struct vkd3d_shader_locati
|
|||||||
macro->body.text = *body;
|
macro->body.text = *body;
|
||||||
macro->body.location = *body_loc;
|
macro->body.location = *body_loc;
|
||||||
ret = rb_put(&ctx->macros, name, ¯o->entry);
|
ret = rb_put(&ctx->macros, name, ¯o->entry);
|
||||||
assert(!ret);
|
VKD3D_ASSERT(!ret);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user