Fix three-vertex rectangle rendering

This commit is contained in:
nmzik
2026-09-20 15:25:06 +04:00
parent 25f2699523
commit 0ad9149c90
4 changed files with 102 additions and 26 deletions
+4
View File
@@ -26,6 +26,10 @@ enum class PrimitiveType : uint32_t {
kPolygon = 21,
};
constexpr bool IsRectList(PrimitiveType type) {
return type == PrimitiveType::kRectList || type == PrimitiveType::kRectListLegacy;
}
enum class IndexType : uint32_t {
kIndex16 = 0,
kIndex32 = 1,