Merge pull request #617 from RytoEX/master

image-source: Reload file when timestamp has changed
master
Jim 2016-09-16 19:46:31 -07:00 committed by GitHub
commit 1946ee6443
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ static void image_source_tick(void *data, float seconds)
time_t t = get_modified_timestamp(context->file);
context->update_time_elapsed = 0.0f;
if (context->file_timestamp < t) {
if (context->file_timestamp != t) {
image_source_load(context);
}
}