@m_magalhaes said in DrawHUDText returns a white box instead of a text?:
I came across this problem today.
#define TAG_IMPLEMENTS_DRAW_FUNCTION (1 <<
note : you can add this flag to R21 builds, and your tags then display as expected in 22.
z settings have no effect on text.
in 21, text is drawn behind poly objects.
in 22 text is drawn in front of obejcts.
IMO, this is a bit of a mess. the new draw flag should be the exact opposite to what it is, to keep compatibility.
small differences, make a big difference when your already bending over backwards trying not to have to rebuild everything yet again, for 22.
make sure the bitmap shader is not set to MIP mapping, then it works fine.