mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
glgsg: fix compilation in double-precision mode
This commit is contained in:
parent
fb8a2f2af0
commit
3adc7d977e
@ -7374,7 +7374,7 @@ do_issue_render_mode() {
|
|||||||
GLCAT.spam() << "setting thickness to " << thickness << "\n";
|
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
|
#ifndef OPENGLES_2
|
||||||
glPointSize(thickness);
|
glPointSize(thickness);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user