Error if a non-2D/affine matrix is used with auto-batched draws, since they perform CPU-side matrix transforms on 2-component vectors.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-04-23 00:12:57 -03:00
parent 7161d600b7
commit 70b32c47ce
13 changed files with 79 additions and 26 deletions
+5
View File
@@ -137,8 +137,13 @@ struct XYf_STPf_RGBAub
};
size_t getFormatStride(CommonFormat format);
uint32 getFormatFlags(CommonFormat format);
int getFormatPositionComponents(CommonFormat format);
size_t getIndexDataSize(IndexDataType type);
IndexDataType getIndexDataTypeFromMax(size_t maxvalue);
int getIndexCount(TriangleIndexMode mode, int vertexCount);