Use constant instead of enum for RenderDevice/RenderMode

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
1 file changed