[gfx] remove the generic v1 renderer, cleanup (#1345)

* remove the generic v1 renderer, cleanup

* rm the toggle too
This commit is contained in:
water111
2022-04-30 13:10:33 -04:00
committed by GitHub
parent a51536de8d
commit caf4aed127
15 changed files with 53 additions and 1566 deletions
+2 -2
View File
@@ -1222,7 +1222,7 @@ std::string CollideFragment::print(const PrintSettings& settings, int indent) co
void CollideFragMesh::read_from_file(TypedRef ref,
const decompiler::DecompilerTypeSystem& dts,
DrawStats* stats) {
DrawStats* /*stats*/) {
strip_data_len = read_plain_data_field<u16>(ref, "strip-data-len", dts);
poly_count = read_plain_data_field<u16>(ref, "poly-count", dts);
vertex_count = read_plain_data_field<u8>(ref, "vertex-count", dts);
@@ -1235,7 +1235,7 @@ void CollideFragMesh::read_from_file(TypedRef ref,
pat_array = deref_label(get_field_ref(ref, "pat-array", dts));
}
std::string CollideFragMesh::print(const PrintSettings& settings, int indent) const {
std::string CollideFragMesh::print(const PrintSettings& /*settings*/, int indent) const {
std::string is(indent, ' ');
std::string result;
result += fmt::format("{}strip-data-len: {}\n", is, strip_data_len);