render/drawogl.cpp: Size point primitives properly. This fixes -beam_dot_size being effectively ignored by this renderer.

This commit is contained in:
AJR 2023-08-22 14:46:08 -04:00
parent d22fd9d9df
commit 4727a73d7a

View File

@ -1354,7 +1354,10 @@ int renderer_ogl::draw(const int update)
if(pendingPrimitive!=curPrimitive)
{
glLineWidth(prim.width);
if (curPrimitive==GL_POINTS)
glPointSize(prim.width);
else
glLineWidth(prim.width);
glBegin(curPrimitive);
pendingPrimitive=curPrimitive;
}