mirror of
https://github.com/holub/mame
synced 2025-06-05 12:26:35 +03:00
render/drawogl.cpp: Size point primitives properly. This fixes -beam_dot_size being effectively ignored by this renderer.
This commit is contained in:
parent
d22fd9d9df
commit
4727a73d7a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user