Fix three-vertex rectangle rendering

This commit is contained in:
nmzik committed 2026-09-20 17:16:19 +04:00
1 parent 25f2699523
commit 0ad9149c90
4 files changed
+102 -26

No files matched your search

+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,