ecere/gfx/3D/Mesh: Added member to access 32 bit indices
[sdk] / ecere / src / gfx / 3D / Mesh.ec
index f48ac61..bf312b1 100644 (file)
@@ -48,7 +48,7 @@ public:
    PrimitiveGroupType type;
    union
    {
-      struct { uint16 * indices; int nIndices; };
+      struct { union { uint16 * indices; uint * indices32; }; int nIndices; };
       struct { int first, nVertices; };
    };
    Material material;
@@ -62,7 +62,7 @@ public:
    PrimitiveGroupType type;
    union
    {
-      struct { uint16 * indices; int nIndices; };
+      struct { union { uint16 * indices; uint * indices32; }; int nIndices; };
       struct { int first, nVertices; };
    };
    Material material;