Progress report.

This commit is contained in:
Jorge Rodriguez
2014-09-06 10:57:21 -07:00
parent 75bdd2da83
commit fb059fcece
2 changed files with 24 additions and 0 deletions

View File

@ -46,6 +46,13 @@ void stbir_free(void* context, void* memory)
{
}
void stbir_progress(float p)
{
STBIR_ASSERT(p >= 0 && p <= 1);
}
#define STBIR_PROGRESS_REPORT stbir_progress
#define STB_IMAGE_RESIZE_IMPLEMENTATION
#define STB_IMAGE_RESIZE_STATIC
#include "stb_image_resize.h"