mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-09-13 09:16:14 -07:00
vkd3d-shader/fx: Replace assert() with VKD3D_ASSERT().
This commit is contained in:
parent
cd9879f237
commit
114578fc8a
Notes:
Henri Verbeet
2024-08-13 21:27:22 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/994
@ -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)
|
||||
{
|
||||
|
@ -51,7 +51,6 @@
|
||||
#include "vkd3d_shader.h"
|
||||
#include "list.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <inttypes.h>
|
||||
#include <limits.h>
|
||||
#include <stdbool.h>
|
||||
|
Loading…
Reference in New Issue
Block a user