From e64752907ecbc62d151511e982e3f645f272ff92 Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Wed, 30 Oct 2024 20:24:24 +0300 Subject: [PATCH] Remove unused argument. --- src/refresh/mesh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/refresh/mesh.c b/src/refresh/mesh.c index 58d13b59f..fb07e7ad5 100644 --- a/src/refresh/mesh.c +++ b/src/refresh/mesh.c @@ -815,7 +815,7 @@ static void lerp_alias_skeleton(const md5_model_t *model) #pragma GCC reset_options #endif -static void bind_skel_arrays(const md5_mesh_t *mesh, const md5_joint_t *skel) +static void bind_skel_arrays(const md5_mesh_t *mesh) { if (gl_config.caps & QGL_CAP_SHADER_STORAGE) { qglBindBufferRange(GL_SHADER_STORAGE_BUFFER, SSBO_WEIGHTS, buffer, @@ -848,7 +848,7 @@ static void bind_skel_arrays(const md5_mesh_t *mesh, const md5_joint_t *skel) static void draw_skeleton_mesh(const md5_model_t *model, const md5_mesh_t *mesh, const md5_joint_t *skel) { if (buffer) - bind_skel_arrays(mesh, skel); + bind_skel_arrays(mesh); else if (glr.ent->flags & RF_SHELL_MASK) tess_shell_skel(mesh, skel); else if (dotshading)