Skip to content

Commit

Permalink
(core) 3dbase-buildsphere ignoring nmaps
Browse files Browse the repository at this point in the history
This caused broken multitexturing for sphere+frameset primitives.

Credits-to: Cipharius
  • Loading branch information
letoram committed Sep 20, 2023
1 parent 314ed33 commit 3ed7f88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/engine/arcan_3dbase.c
Expand Up @@ -883,6 +883,7 @@ arcan_vobj_id arcan_3d_buildsphere(
newmodel->geometry->store.n_vertices = nv / 3;
newmodel->geometry->complete = true;
newmodel->radius = r;
newmodel->geometry->nmaps = nmaps;
newmodel->flags.complete = true;
/* bbmin, bbmax */

Expand Down

0 comments on commit 3ed7f88

Please sign in to comment.