mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-22 01:52:43 +00:00
Small scrolling texture fix
This commit is contained in:
parent
c7a557d870
commit
2ad4cfceaa
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ struct ScrollTarget* find_or_create_scroll_targets(u32 id) {
|
|||
*/
|
||||
void add_vtx_scroll_target(u32 id, Vtx *vtx, u32 size) {
|
||||
struct ScrollTarget *scroll = find_or_create_scroll_targets(id);
|
||||
if (!scroll || !scroll->vertices) { return; }
|
||||
if (!scroll) { return; }
|
||||
Vtx* *newArray;
|
||||
u32 oldSize = sizeof(void*) * scroll->size;
|
||||
u32 newSize = oldSize + (sizeof(void*) * size);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue