diff --git a/tests/resample_test.cpp b/tests/resample_test.cpp index 856351b..b906d15 100644 --- a/tests/resample_test.cpp +++ b/tests/resample_test.cpp @@ -187,7 +187,7 @@ void convert_image(const F* input, T* output, int length) } template -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); diff --git a/tests/stb.dsp b/tests/stb.dsp index 40e3229..9fd5df3 100644 --- a/tests/stb.dsp +++ b/tests/stb.dsp @@ -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