diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-04 18:43:28 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-04 18:43:28 +0100 |
| commit | d7201a987ba6cc56fda3d3ea69275307385f7c3e (patch) | |
| tree | 54d5247ac75adc3b9241c323dbc0ca5db5d35c96 /src/overlay.h | |
| parent | Chams: style flags on the resident debug material (diff) | |
| download | hl2h-d7201a987ba6cc56fda3d3ea69275307385f7c3e.tar.gz hl2h-d7201a987ba6cc56fda3d3ea69275307385f7c3e.zip | |
Chams: preload style materials outside the model draw
FindMaterial inside DrawModelExecute did not load the style VMTs, so every
style fell back to the solid material. Preload the six style materials from
outer_draw (throttled) and have the render hook use the cached pointers only.
world_find_material now returns only the exact requested material; the caller
falls back to the solid style. Add a vgui/white probe and per-style preload
logs.
Diffstat (limited to 'src/overlay.h')
0 files changed, 0 insertions, 0 deletions
