diff options
author | Chris Robinson <[email protected]> | 2010-08-01 16:31:00 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-08-01 16:31:00 -0700 |
commit | 241ddf76d4e3b7b0efd771bbc8270e1da2a7ca72 (patch) | |
tree | 601612b2df28974dde09f133155641e09fdda0d5 /Alc/ALc.c | |
parent | fe6e73ede9c4137992e2945bf4db0d7ab897208b (diff) |
Enforce the device time to be a multiple of the reported resolution
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1364,6 +1364,7 @@ ALC_API ALCvoid ALC_APIENTRY alcGetIntegerv(ALCdevice *device,ALCenum param,ALsi else { ALuint64 t = ALCdevice_GetTime(device); + t -= t%device->TimeRes; data[0] = t&0xffffffff; data[1] = t>>32; } |