dhewm3/neo
Daniel Gibson b78becde4c Fix loading ridiculously large non-POT-textures
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.
2025-03-03 05:49:16 +01:00
..
cm Fix issues in first map of the "UAC Franchise 666" user campaign, #651 2025-02-04 18:50:42 +01:00
d3xp Fix CPU architectore in version strings on Windows 2025-03-03 05:27:37 +01:00
framework Fix CPU architectore in version strings on Windows 2025-03-03 05:27:37 +01:00
game Fix CPU architectore in version strings on Windows 2025-03-03 05:27:37 +01:00
idlib Fix memory deallocation issue by using delete[] for arrays 2025-02-25 23:42:49 +01:00
libs/imgui Update Dear ImGui to 1.91.7 2025-01-29 18:16:28 +01:00
MayaImport s/LittleLong/LittleInt/ to match the return type 2012-06-28 13:02:47 +02:00
renderer Fix loading ridiculously large non-POT-textures 2025-03-03 05:49:16 +01:00
sound Fix running timedemo if sound is disabled (s_noSound 1), fix #163 2025-01-19 02:05:50 +01:00
sys Fix ImGui assertion when starting into DOOMEdit (+editor) 2025-01-21 00:51:38 +01:00
tools Set tr.allowNoSpecular in DOOMEdit 2025-01-21 00:51:38 +01:00
TypeInfo Get rid of Sys_FPU_StackIsEmpty() 2012-07-06 01:06:53 +02:00
ui Initialize all idRegister class members in constructors 2025-03-03 05:22:40 +01:00
CMakeLists.txt Added use of O3 instead of O2 for e2k arch 2025-02-07 14:50:18 +01:00
config.h.in Introduce CMAKE_INSTALL_PREFIX relative paths 2012-07-04 02:18:42 +02:00
mmakefile.src # move the AROS specific folder icon and default.cfg mmakefile.src under neo/sys/aros/setup 2017-04-22 16:21:14 +02:00