Commit 2557c53
committed
stencil: mark the TEV as dirty after drawing to the stencil buffer
Fixes a regression introduced by commit 836fd7e, because indeed
the _ogx_stencil_draw() function (and draw_op() in particular) alters
the TEV setup, which then needs to be restored when drawing to the
scene.
This fixes an issue in the dinoshade program, where some parts of the
reflected dinosaur could be seen outside of the floor.1 parent 8bb693d commit 2557c53
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
| 543 | + | |
| 544 | + | |
543 | 545 | | |
544 | 546 | | |
545 | 547 | | |
| |||
0 commit comments