diff options
Diffstat (limited to 'retrace/daemon/glframe_state_enums.cpp')
-rw-r--r-- | retrace/daemon/glframe_state_enums.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/retrace/daemon/glframe_state_enums.cpp b/retrace/daemon/glframe_state_enums.cpp index 3333270f..9b4b57c6 100644 --- a/retrace/daemon/glframe_state_enums.cpp +++ b/retrace/daemon/glframe_state_enums.cpp @@ -59,6 +59,7 @@ glretrace::state_name_to_enum(const std::string &value) { {"GL_DEPTH_FUNC", GL_DEPTH_FUNC}, {"GL_DEPTH_RANGE", GL_DEPTH_RANGE}, {"GL_DEPTH_TEST", GL_DEPTH_TEST}, + {"GL_DEPTH_WRITEMASK", GL_DEPTH_WRITEMASK}, {"GL_DST_ALPHA", GL_DST_ALPHA}, {"GL_DST_COLOR", GL_DST_COLOR}, {"GL_EQUAL", GL_EQUAL}, @@ -123,6 +124,7 @@ glretrace::state_enum_to_name(GLint value) { {GL_DEPTH_FUNC, "GL_DEPTH_FUNC"}, {GL_DEPTH_RANGE, "GL_DEPTH_RANGE"}, {GL_DEPTH_TEST, "GL_DEPTH_TEST"}, + {GL_DEPTH_WRITEMASK, "GL_DEPTH_WRITEMASK"}, {GL_DST_ALPHA, "GL_DST_ALPHA"}, {GL_DST_COLOR, "GL_DST_COLOR"}, {GL_EQUAL, "GL_EQUAL"}, @@ -168,6 +170,7 @@ glretrace::state_name_to_choices(const std::string &n) { case GL_COLOR_WRITEMASK: case GL_CULL_FACE: case GL_DEPTH_TEST: + case GL_DEPTH_WRITEMASK: case GL_LINE_SMOOTH: return {"true", "false"}; case GL_BLEND_DST: @@ -222,6 +225,8 @@ glretrace::state_name_to_indices(const std::string &n) { return {"Red", "Green", "Blue", "Alpha"}; case GL_DEPTH_RANGE: return {"Near", "Far"}; + case GL_DEPTH_WRITEMASK: + return {"Enabled"}; default: return {}; } |