mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Regresion fix : restore point size functionality
This commit is contained in:
parent
f7c0c6fd34
commit
5007d62e27
3 changed files with 14 additions and 2 deletions
|
|
@ -843,7 +843,7 @@ void GLGSRender::ExecCMD()
|
|||
Enable(m_set_poly_offset_fill, GL_POLYGON_OFFSET_FILL);
|
||||
Enable(m_set_poly_offset_line, GL_POLYGON_OFFSET_LINE);
|
||||
Enable(m_set_poly_offset_point, GL_POLYGON_OFFSET_POINT);
|
||||
Enable(m_set_restart_index, GL_PRIMITIVE_RESTART); // Requires OpenGL 3.1+
|
||||
Enable(m_set_restart_index, GL_PRIMITIVE_RESTART);
|
||||
|
||||
if(m_set_clip_plane)
|
||||
{
|
||||
|
|
@ -872,6 +872,12 @@ void GLGSRender::ExecCMD()
|
|||
checkForGlError("glPolygonMode(Back)");
|
||||
}
|
||||
|
||||
if (m_set_point_size)
|
||||
{
|
||||
glPointSize(m_point_size);
|
||||
checkForGlError("glPointSize");
|
||||
}
|
||||
|
||||
if (m_set_poly_offset_mode)
|
||||
{
|
||||
glPolygonOffset(m_poly_offset_scale_factor, m_poly_offset_bias);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue