Skip to content

Commit

Permalink
Avoid member access within null pointer.
Browse files Browse the repository at this point in the history
  • Loading branch information
skullernet committed Aug 25, 2024
1 parent 414c2e5 commit abe74ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/refresh/mesh.c
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ static void draw_alias_mesh(const glIndex_t *indices, int num_indices,
}

GL_BindBuffer(GL_ARRAY_BUFFER, buffer);
gl_backend->tex_coord_pointer(tcoords->st);
gl_backend->tex_coord_pointer((const GLfloat *)tcoords);

GL_LockArrays(num_verts);

Expand Down

0 comments on commit abe74ee

Please sign in to comment.