update : pepare renderstate setup.

Signed-off-by: Kim <Kulling>