mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-09-13 09:16:14 -07:00
vkd3d-shader: Replace assert() with VKD3D_ASSERT() in preproc.h.
This commit is contained in:
parent
4a04324ecc
commit
351220f182
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
@ -141,7 +141,7 @@ void preproc_warning(struct preproc_ctx *ctx, const struct vkd3d_shader_location
|
||||
|
||||
static inline struct preproc_file *preproc_get_top_file(struct preproc_ctx *ctx)
|
||||
{
|
||||
assert(ctx->file_count);
|
||||
VKD3D_ASSERT(ctx->file_count);
|
||||
return &ctx->file_stack[ctx->file_count - 1];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user