Avoid spurious double to float conversion.
MSVC (mostly rightly) complains about this, even if our particular case is irrelevant.pull/4/head
parent
8c83a4a212
commit
1e2a899ba2
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue