VertexManagerBase: Get rid of a u16 cast

Just using the direct value is more straightforward
This commit is contained in:
Lioncash 2016-10-01 01:05:36 -04:00
parent 8017e11784
commit e61eb34ae6
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ private:
static const u32 LARGEST_POSSIBLE_VERTEX =
sizeof(float) * 45 + sizeof(u32) * 2; // 3 pos, 3*3 normal, 2*u32 color, 8*4 tex, 1 posMat
static const u32 MAX_PRIMITIVES_PER_COMMAND = (u16)-1;
static const u32 MAX_PRIMITIVES_PER_COMMAND = 65535;
public:
static const u32 MAXVBUFFERSIZE =