code cleanup: quiet double promotion warnings

This commit is contained in:
Campbell Barton
2012-11-07 23:52:33 +00:00
parent c0fb605a04
commit 353ad46e10
3 changed files with 3 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ void DeviceTask::update_progress(RenderTile &rtile)
if(update_tile_sample) {
double current_time = time_dt();
if (current_time - last_update_time >= 1.0f) {
if (current_time - last_update_time >= 1.0) {
update_tile_sample(rtile);
last_update_time = current_time;