Modified the Amplify algorithm to ignore masked pixels when calculating the max value. GLTexture_Prepare was not converting hires patches to monochrome if set.
Todo: Rewrite the conversion stage of GLTexture_Prepare.
How about a mechanism where the input and output formats are specified along with a stack of conversion filters. An automatic logic then optimizes the stack to determine the best (most quality preserving and fasted) path from A to B.
Remove the use of the texture type for determining logic here and use the material_load_params instead.
Move the extraOffset values currently stored in spritetex_t and patchtex_t into gltexture_inst_t.
Modified the Amplify algorithm to ignore masked pixels when calculating the max value.
Todo: Rewrite the conversion stage of GLTexture_Prepare.GLTexture_Prepare was not converting hires patches to monochrome if set.