Avoid spurious double to float conversion.

MSVC (mostly rightly) complains about this, even if our particular
case is irrelevant.
pull/4/head
whitequark 2016-02-12 05:26:08 +00:00
parent 8c83a4a212
commit 1e2a899ba2
1 changed files with 2 additions and 2 deletions

View File

@ -67,8 +67,8 @@ void ssglLineWidth(GLfloat width) {
}
}
if(workaroundEnabled && width < 1.6)
width = 1.6;
if(workaroundEnabled && width < 1.6f)
width = 1.6f;
glLineWidth(width);
}