From 2549d8156e8e38977dbbe4f8ac06db5327d72ad9 Mon Sep 17 00:00:00 2001 From: Sean Barrett Date: Sun, 31 Aug 2014 07:23:34 -0700 Subject: [PATCH] in-progress refactoring --- tests/resample_test.cpp | 4 ++-- tests/stb.dsp | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) 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