diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-04 00:07:36 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-04 00:07:36 +0100 |
| commit | 49d6e90919bbc4f287013e429048afaf340d13b9 (patch) | |
| tree | d46fb3c1dd8d78a75bd3df3f066ef90c0821b355 /src/ISURFACE_STATUS.md | |
| parent | World: replace skybox changer with a PNG skybox image (diff) | |
| download | hl2h-49d6e90919bbc4f287013e429048afaf340d13b9.tar.gz hl2h-49d6e90919bbc4f287013e429048afaf340d13b9.zip | |
Skybox image: upload via procedural texture, not CreateTextureFromBits
The crash was CreateTextureFromBits: this build's IMaterialSystem interface
stops at GetDisplayDeviceName, and the slots after it are CMaterialSystem's
own virtuals, so index 134 was an unrelated function.
Use CreateProceduralTexture (81, verified by disassembling the interface
vtable) together with an ITextureRegenerator (SetTextureRegenerator 12,
Download 13) that fills mip 0 via IVTFTexture::ImageData (39; IVTFTexture has
a two-slot virtual destructor, so Width=15, Height=16, RowSizeInBytes=19).
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
