Skip to content

Commit

Permalink
Remove unused argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
skullernet committed Oct 30, 2024
1 parent 05aa7ec commit e647529
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/refresh/mesh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit e647529

Please sign in to comment.