mirror of
https://github.com/mpv-player/mpv
synced 2024-12-19 21:31:52 +00:00
Remove fallback round implementation that is protected by a preprocessor
directive that configure never sets or checks for. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24134 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b4109f4efe
commit
437895cc46
@ -25,13 +25,6 @@
|
||||
|
||||
static GTF_constants GTF_given_constants = { 3.0,550.0,1,8,1.8,8,40,20,128,600 };
|
||||
|
||||
#ifndef HAVE_ROUND
|
||||
static double round(double v)
|
||||
{
|
||||
return floor(v + 0.5);
|
||||
}
|
||||
#endif
|
||||
|
||||
static void GetRoundedConstants(GTF_constants *c)
|
||||
{
|
||||
c->Vsync_need = round(GTF_given_constants.Vsync_need);
|
||||
|
Loading…
Reference in New Issue
Block a user