diff --git a/libs/vkd3d-shader/fx.c b/libs/vkd3d-shader/fx.c index 473c82af..61374a81 100644 --- a/libs/vkd3d-shader/fx.c +++ b/libs/vkd3d-shader/fx.c @@ -111,7 +111,7 @@ static void get_state_block_function_components(const struct state_block_functio { unsigned int i; - assert(comp_count <= info->max_args); + VKD3D_ASSERT(comp_count <= info->max_args); if (info->min_args == info->max_args) { diff --git a/libs/vkd3d-shader/vkd3d_shader_private.h b/libs/vkd3d-shader/vkd3d_shader_private.h index 0ce423cc..8c2d2f95 100644 --- a/libs/vkd3d-shader/vkd3d_shader_private.h +++ b/libs/vkd3d-shader/vkd3d_shader_private.h @@ -51,7 +51,6 @@ #include "vkd3d_shader.h" #include "list.h" -#include #include #include #include