Commit 51902c0
committed
gl1: honour xmb_shadows_enable
Same fix as 709d462 for GDI. gl1 was clobbering xmb_shadows_enable
alongside menu_shader_pipeline. The latter is correct -- gl1
fixed-function has no programmable pipeline, so the animated XMB
backgrounds (Ribbon / Snow / Bokeh / etc.) can't run. But shadow
draws are just vertex-color-modulated textured quads: the default
GL_MODULATE texture environment with vertex color (0,0,0,a) plus
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) darkens the
destination to dst*(1-a), and the gl1 raster font driver's
drop_x/drop_y path handles text shadows the same way.1 parent 709d462 commit 51902c0
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1641 | 1641 | | |
1642 | 1642 | | |
1643 | 1643 | | |
1644 | | - | |
1645 | | - | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
1646 | 1656 | | |
1647 | 1657 | | |
1648 | 1658 | | |
| |||
0 commit comments