mirror of https://github.com/axmolengine/axmol.git
use GLsizei to avoid overflow (#16962)
This commit is contained in:
parent
fb89672fff
commit
b288821bdd
|
@ -249,8 +249,8 @@ protected:
|
|||
// Internal structure that has the information for the batches
|
||||
struct TriBatchToDraw {
|
||||
TrianglesCommand* cmd; // needed for the Material
|
||||
GLushort indicesToDraw;
|
||||
GLushort offset;
|
||||
GLsizei indicesToDraw;
|
||||
GLsizei offset;
|
||||
};
|
||||
// capacity of the array of TriBatches
|
||||
int _triBatchesToDrawCapacity;
|
||||
|
|
Loading…
Reference in New Issue