This commit is contained in:
raven02 2016-09-25 16:53:57 +08:00 committed by GitHub
parent b72f6da853
commit fcb853792d
3 changed files with 4 additions and 4 deletions

View File

@ -302,7 +302,7 @@ void GLGSRender::begin()
value = 0; value = 0;
break; break;
case rsx::user_clip_plane_op::greather_or_equal: case rsx::user_clip_plane_op::greater_or_equal:
value = 1; value = 1;
break; break;

View File

@ -376,7 +376,7 @@ namespace rsx
switch (op) switch (op)
{ {
case user_clip_plane_op::disable: return "disabled"; case user_clip_plane_op::disable: return "disabled";
case user_clip_plane_op::greather_or_equal: return "greater or equal"; case user_clip_plane_op::greater_or_equal: return "greater or equal";
case user_clip_plane_op::less_than: return "less than"; case user_clip_plane_op::less_than: return "less than";
} }
throw; throw;
@ -985,7 +985,7 @@ rsx::user_clip_plane_op rsx::to_user_clip_plane_op(u8 in)
{ {
case CELL_GCM_USER_CLIP_PLANE_DISABLE: return rsx::user_clip_plane_op::disable; case CELL_GCM_USER_CLIP_PLANE_DISABLE: return rsx::user_clip_plane_op::disable;
case CELL_GCM_USER_CLIP_PLANE_ENABLE_LT: return rsx::user_clip_plane_op::less_than; case CELL_GCM_USER_CLIP_PLANE_ENABLE_LT: return rsx::user_clip_plane_op::less_than;
case CELL_GCM_USER_CLIP_PLANE_ENABLE_GE: return rsx::user_clip_plane_op::greather_or_equal; case CELL_GCM_USER_CLIP_PLANE_ENABLE_GE: return rsx::user_clip_plane_op::greater_or_equal;
} }
fmt::throw_exception("Unknown user clip plane 0x%x" HERE, in); fmt::throw_exception("Unknown user clip plane 0x%x" HERE, in);
} }

View File

@ -284,7 +284,7 @@ namespace rsx
{ {
disable, disable,
less_than, less_than,
greather_or_equal, greater_or_equal,
}; };
user_clip_plane_op to_user_clip_plane_op(u8 in); user_clip_plane_op to_user_clip_plane_op(u8 in);