in-progress refactoring

This commit is contained in:
Sean Barrett 2014-08-31 07:23:34 -07:00
parent 034674c142
commit 2549d8156e
2 changed files with 10 additions and 2 deletions

View File

@ -187,7 +187,7 @@ void convert_image(const F* input, T* output, int length)
}
template <typename T>
void test_format(const char* file, float width_percent, float height_percent, stbir_type type, stbir_colorspace colorspace)
void test_format(const char* file, float width_percent, float height_percent, stbir_datatype type, stbir_colorspace colorspace)
{
int w, h, n;
unsigned char* input_data = stbi_load(file, &w, &h, &n, 0);
@ -228,7 +228,7 @@ void convert_image_float(const float* input, unsigned char* output, int length)
output[i] = (unsigned char)(input[i] * 255);
}
void test_float(const char* file, float width_percent, float height_percent, stbir_type type, stbir_colorspace colorspace)
void test_float(const char* file, float width_percent, float height_percent, stbir_datatype type, stbir_colorspace colorspace)
{
int w, h, n;
unsigned char* input_data = stbi_load(file, &w, &h, &n, 0);

View File

@ -106,10 +106,18 @@ SOURCE=..\stb_dxt.h
# End Source File
# Begin Source File
SOURCE=..\stb_herringbone_wang_tile.h
# End Source File
# Begin Source File
SOURCE=..\stb_image.h
# End Source File
# Begin Source File
SOURCE=..\stb_image_resize.h
# End Source File
# Begin Source File
SOURCE=..\stb_image_write.h
# End Source File
# Begin Source File