Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-01-31 17:57:45 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-01-31 18:00:08 +0300
commitf90891d87e351ef1c9509007a18dc72ee5025809 (patch)
tree11038eaf4249531fbd698d7312168abd5a4a719a /source/blender/gpu
parent9e9cd77b8de68015a98659671272cc9d78710e69 (diff)
Add PIL_check_seconds_timer_i to avoid casting
note, win32 casts still casts from double.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_draw.c b/source/blender/gpu/intern/gpu_draw.c
index 5f58e3fe65b..6ff076bb02b 100644
--- a/source/blender/gpu/intern/gpu_draw.c
+++ b/source/blender/gpu/intern/gpu_draw.c
@@ -1324,7 +1324,7 @@ void GPU_free_images_old(void)
{
Image *ima;
static int lasttime = 0;
- int ctime = (int)PIL_check_seconds_timer();
+ int ctime = PIL_check_seconds_timer_i();
/*
* Run garbage collector once for every collecting period of time