Commit 97c49b3
committed
Fix CGEN_IDENTITY_LIGHTING with 2D drawing
Some 2D shaders are automatically assigned CGEN_IDENTITY_LIGHTING. This
causes a bug of the cursor being black in the main menu (where
tr.identityLighting is 0) and the wrong color if r_overbrightQ3 is used
while in a map. Fix by making it behave as CGEN_IDENTITY during 2D
rendering.
Fixes #1590.1 parent d39d77c commit 97c49b3
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2328 | 2328 | | |
2329 | 2329 | | |
2330 | 2330 | | |
2331 | | - | |
| 2331 | + | |
| 2332 | + | |
| 2333 | + | |
| 2334 | + | |
| 2335 | + | |
| 2336 | + | |
| 2337 | + | |
| 2338 | + | |
2332 | 2339 | | |
2333 | 2340 | | |
2334 | 2341 | | |
| |||
0 commit comments