Fix places in previous commits where tabs got replaced with spaces

pull/32/head
Sean Barrett 2014-08-11 02:16:23 -07:00
parent 25fae8c67c
commit fc4ca11a52
1 changed files with 50 additions and 50 deletions

View File

@ -1040,7 +1040,7 @@ static stbr_inline void stbr__encode_pixel(void* output_buffer, int output_texel
if (premul_alpha_channel) {
float alpha = encode_buffer[encode_texel_index + premul_alpha_channel];
float reciprocal_alpha = alpha ? 1.0 / alpha : 0;
float reciprocal_alpha = alpha ? 1.0f / alpha : 0;
for (n = 0; n < channels; n++)
if (n != premul_alpha_channel)
encode_buffer[encode_texel_index + n] *= reciprocal_alpha;