# NNS_G2dEndRendering

## C Specification

      #include <nnsys/g2d/g2d_Renderer.h>

      void NNS_G2dEndRendering();

## Arguments

None.

## Return Values

None.

## Description

Call after the renderer drawing. This function must be called after renderer drawing functions (`NNS_G2dDrawXXX`) are called. Do not call this function within `NNS_G2BeginRendering` and `NNS_G2EndRendering` functions. Nested function calls are prohibited.
Restores the internal state that was changed after the drawing.
If the optimization hint flag was set (`NNS_G2dBeginRenderingEx` is used), it performs the post-processing of the optimization.
The optimization hint flag is reset by this function. In other words, the optimization hint flag is valid only within the renderer's Begin-End rendering block.

## See Also

`NNS_G2dBeginRendering
`

## Revision History

11/10/2004 Revised the description

05/28/2004 Initial version.