mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-03-19 17:21:42 +00:00
After loading a texture, Doom3 calculates an MD4-sum of it.. this is mostly pointless and only used for the "reportImageDuplication" console command, but whatever. The problem here was that the image was 32000x2000 pixels (due to some error when creating it) which dhewm3 wanted to convert to the next bigger power-of-two values with R_ResampleTexture(), but that function clamps to 4096x4096, so the actually used pixeldata was for 2048x4096. However, R_ResampleTexture() didn't communicate this to its caller, and thus a too big size was used for calculating the MD4-sum and it crashed. That's fixed now and also a warning is printed about this. |
||
---|---|---|
.. | ||
cm | ||
d3xp | ||
framework | ||
game | ||
idlib | ||
libs/imgui | ||
MayaImport | ||
renderer | ||
sound | ||
sys | ||
tools | ||
TypeInfo | ||
ui | ||
CMakeLists.txt | ||
config.h.in | ||
mmakefile.src |