glgsg: fix compilation in double-precision mode

This commit is contained in:
rdb 2018-12-04 16:16:05 +01:00
parent fb8a2f2af0
commit 3adc7d977e

View File

@ -7374,7 +7374,7 @@ do_issue_render_mode() {
GLCAT.spam() << "setting thickness to " << thickness << "\n";
}
glLineWidth(std::min(thickness, _max_line_width));
glLineWidth(std::min((GLfloat)thickness, _max_line_width));
#ifndef OPENGLES_2
glPointSize(thickness);
#endif