Remove double definition of static const arrays for Types and Dimensions

This commit is contained in:
Sam Gateau 2014-11-06 10:42:14 -08:00
parent 5a51a99f76
commit 2d06e71e32

View file

@ -16,34 +16,6 @@
using namespace gpu;
const int TYPE_SIZE[NUM_TYPES] = {
4,
4,
4,
2,
2,
2,
1,
1,
4,
4,
4,
2,
2,
2,
1,
1
};
const int DIMENSION_COUNT[NUM_DIMENSIONS] = {
1,
2,
3,
4,
9,
16
};
Batch::Batch() :
_commands(),
_commandOffsets(),