mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Put all pieces together and clean up leftover code
This commit is contained in:
parent
6b7fc1e9fe
commit
62131fe295
11 changed files with 105 additions and 169 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue