tr_shader: do not load heatHaze map when heatHaze is disabled#1737
tr_shader: do not load heatHaze map when heatHaze is disabled#1737
Conversation
|
This spams parse errors and fails to really disable the stage: Setting |
|
Hmm, right. I now disable the stage at the very end of the parsing (just before loading the image). |
f83347a to
e66b52a
Compare
|
|
Well, that is a bug unrelated to this. |
|
I added a patch to not re-enable stages after parsing. |
|
LGTM |
Thanks. |

Do not load heatHaze map when heatHaze is disabled.
This doesn't fix the root cause of #1736, but it workarounds it when heatHaze is disabled:
munmap_chunk(): invalid pointerwhen uploading heat haze maps on old low-end hardware can be worked around #1736This is wanted in all cases because it's good to skip loading an uploading stuff we don't use anyway.