3D-Viewer: disable AA while moving
disable AA for Raytracing Fixes #4007
This commit is contained in:
parent
fd59660ec8
commit
656efc8d62
|
@ -565,6 +565,14 @@ bool C3D_RENDER_OGL_LEGACY::Redraw(
|
|||
|
||||
glViewport( 0, 0, m_windowSize.x, m_windowSize.y );
|
||||
|
||||
if( aIsMoving == false )
|
||||
{
|
||||
glEnable( GL_MULTISAMPLE );
|
||||
}
|
||||
else
|
||||
{
|
||||
glDisable( GL_MULTISAMPLE );
|
||||
}
|
||||
|
||||
// clear color and depth buffers
|
||||
// /////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -211,7 +211,7 @@ bool C3D_RENDER_RAYTRACING::Redraw(
|
|||
glDisable( GL_DEPTH_TEST );
|
||||
glDisable( GL_TEXTURE_2D );
|
||||
glDisable( GL_BLEND );
|
||||
|
||||
glDisable( GL_MULTISAMPLE );
|
||||
|
||||
const bool was_camera_changed = m_camera.ParametersChanged();
|
||||
|
||||
|
|
Loading…
Reference in New Issue