0ad/source
Itms 996b37f07b Fix logic issue with the DXT1a texture format, refs #4549.
Before the NVTT upgrade, no DXT1a file would have been properly decoded:
they would all have been mistaken for a 8bpp greyscale due to a logic
issue in our code, which would have triggered a crash. I did not notice
the logic issue when performing the upgrade. As a result, decoding those
files now fails silently: their alpha bit will be ignored and they will
be handled as DXT1.

This patch fixes the logic and allows us to decode DXT1a properly, in
accordance with the format specifications. Currently, we do not use this
format.

Reviewed By: wraitii
Differential Revision: https://code.wildfiregames.com/D2522
This was SVN commit r23973.
2020-08-18 16:45:56 +00:00
..
collada Fix compiler warnings on VS 2015, refs #3439, refs #5069. 2018-03-10 09:58:53 +00:00
graphics Fixes terrain index type (causing a warning) introduced in 1e1ce27eba. 2020-07-07 16:51:20 +00:00
gui Fix text input max_length attribute. fixes 5593f573f4 2020-08-03 12:39:25 +00:00
i18n Remove some unused Profiler.h and CLogger.h includes. 2019-09-07 13:35:45 +00:00
lib Fix logic issue with the DXT1a texture format, refs #4549. 2020-08-18 16:45:56 +00:00
lobby Rework ScriptInterface EnumeratePropertyNames to support non-enumerable properties. 2020-06-14 09:49:32 +00:00
maths CVector2D: Fix members may not be initialized warnings 2020-06-21 18:21:31 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Fix segfault when sending a very large net chat message. 2020-08-01 15:25:13 +00:00
pch Precompiled logic update [Windows build] 2019-12-31 13:58:48 +00:00
ps Adds contrast-adaptiv-sharpening filter, also helps to partly remove FXAA texture blurring. 2020-08-07 22:16:55 +00:00
renderer Completely separates fixed and shader paths in sky rendering. 2020-08-09 15:21:06 +00:00
rlinterface Add an interface for Reinforcement Learning. 2020-08-01 10:52:59 +00:00
scriptinterface Stop failing if mod is broken and display invalid mods in downloader [Mod Io] 2020-07-12 09:25:03 +00:00
simulation2 Implements correct distance to edges for the building snapping feature. 2020-08-17 20:13:18 +00:00
soundmanager Removes duplication of Clamp function. 2019-09-26 21:14:21 +00:00
third_party Fix gcc warning reported by Imarok after 204e17206b 2020-05-23 12:21:49 +00:00
tools Fix issues relating to SDL and wxWidgets interaction in Atlas. 2020-08-03 12:23:16 +00:00
main.cpp Fix issues relating to SDL and wxWidgets interaction in Atlas. 2020-08-03 12:23:16 +00:00
test_setup.cpp Fix string format of the JS test assertion failure following 7c2e9027c2 (cxxtest expects a char* instead of a std::wstring, so newlines were printed as \n characters). 2017-10-13 21:56:45 +00:00