mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Put all pieces together and clean up leftover code
This commit is contained in:
@@ -24,7 +24,7 @@ public:
|
||||
#endif
|
||||
}
|
||||
|
||||
video::E_INDEX_TYPE getType() const
|
||||
video::E_INDEX_TYPE getType() const override
|
||||
{
|
||||
static_assert(sizeof(T) == 2 || sizeof(T) == 4, "invalid index type");
|
||||
return sizeof(T) == 2 ? video::EIT_16BIT : video::EIT_32BIT;
|
||||
|
Reference in New Issue
Block a user