summaryrefslogtreecommitdiff
path: root/src/savage_drm.h
diff options
context:
space:
mode:
authorTormod Volden <debian.tormod@gmail.com>2011-09-17 11:58:50 +0200
committerTormod Volden <debian.tormod@gmail.com>2011-09-23 20:59:48 +0200
commitca6c41fd8c9fcb563ee5f97689806edcb0da54bf (patch)
tree410a9c7683283b7110a738113e13905e1acbe698 /src/savage_drm.h
parentf27eac4b3fe9e6f13d3c54711488ebe7280f24dd (diff)
savage: Avoid unnecessary float calculation in video display
There is no reason to do the division using floats as long as the result is an integer and there is no risk of intermediate overflow. This is in the code for "Old" chipsets. Integer division was already used in the parallel code for "New" chipsets. Also fixed up the whitespace in both blocks. Signed-off-by: Tormod Volden <debian.tormod@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/savage_drm.h')
0 files changed, 0 insertions, 0 deletions