Skip to content

Commit 4ac30ec

Browse files
author
Artemio Urbina
committed
== N64 ==
- Removed unnecessary rspq_block_free
1 parent f9d53af commit 4ac30ec

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

240psuite/N64/scene3d.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -382,15 +382,6 @@ void draw_text(int x, int y, const char *fmt, ...) {
382382
setClearScreen();
383383
waitVsync();
384384

385-
for (int m = 0; m < MODEL_COUNT; ++m) {
386-
T3DModelIter it = t3d_model_iter_create(models[m], T3D_CHUNK_TYPE_OBJECT);
387-
while (t3d_model_iter_next(&it)) {
388-
if (it.object->userBlock) {
389-
rspq_block_free(it.object->userBlock);
390-
it.object->userBlock = NULL;
391-
}
392-
}
393-
}
394385

395386
for(int m=0; m<MODEL_COUNT; ++m)
396387
t3d_model_free(models[m]);

0 commit comments

Comments
 (0)