I looked and as far as I can tell, after this patch, all calls to TexDecoder_Decode will have the parameter rgbaOnly set to true so the parameter should probably be removed all togheter. This in turn would enable us to remove even more unnused code inside TexDecoder_Decode. Are you looking into that?