Merge pull request #617 from RytoEX/master
image-source: Reload file when timestamp has changedmaster
commit
1946ee6443
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue