public override void BeginFrame()
{
if ( activeViewport == null )
{
throw new AxiomException( "Cannot begin frame - no viewport selected." );
}
if ( _rsCapabilities.HasCapability( Capabilities.ScissorTest ) )
{
OpenGL.Enable( All.ScissorTest );
GLESConfig.GlCheckError( this );
}
}