Commit 0be8f2c
render: remove a call to
This needlessly uses the global temporary arena, when the lifetime can
be managed by replacing `GLU_TESS_COMBINE` with `GLU_TESS_COMBINE_DATA`
instead.
While the use of the global temporary arena is mostly harmless, having
it around needlessly prevents restricting the arena's scope to the sketch
in a possible future where the global sketch is removed. Additionally,
it means that calls to `FreeAllTemporary()` must synchronise with the
renderer, which is a needless restriction on the users of the arena given
the fact that none of the other renderers use it.AllocTemporary() from the OpenGL 1 renderer1 parent bd7b627 commit 0be8f2c
1 file changed
+12
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
| 560 | + | |
| 561 | + | |
560 | 562 | | |
561 | 563 | | |
562 | 564 | | |
563 | 565 | | |
564 | | - | |
565 | | - | |
| 566 | + | |
| 567 | + | |
566 | 568 | | |
567 | 569 | | |
568 | 570 | | |
569 | 571 | | |
570 | 572 | | |
| 573 | + | |
| 574 | + | |
571 | 575 | | |
572 | 576 | | |
573 | 577 | | |
574 | 578 | | |
575 | 579 | | |
576 | 580 | | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | | - | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
581 | 585 | | |
582 | 586 | | |
583 | 587 | | |
584 | 588 | | |
585 | 589 | | |
586 | 590 | | |
587 | | - | |
| 591 | + | |
| 592 | + | |
588 | 593 | | |
589 | 594 | | |
590 | 595 | | |
| |||
0 commit comments