[spline/bezier]Fix order of quad indices.

This commit is contained in:
xebra 2014-11-25 23:48:22 +09:00
parent 8cc7d8c71a
commit 368ebf7da3

View File

@ -145,12 +145,12 @@ TransformDrawEngine::TransformDrawEngine()
quadIndices_ = new u16[6 * QUAD_INDICES_MAX];
for (int i = 0; i < QUAD_INDICES_MAX; i++) {
quadIndices_[i * 6 + 0] = i * 4;
quadIndices_[i * 6 + 0] = i * 4 + 0;
quadIndices_[i * 6 + 1] = i * 4 + 2;
quadIndices_[i * 6 + 2] = i * 4 + 1;
quadIndices_[i * 6 + 3] = i * 4 + 1;
quadIndices_[i * 6 + 4] = i * 4 + 2;
quadIndices_[i * 6 + 5] = i * 4 + 3;
quadIndices_[i * 6 + 3] = i * 4 + 3;
quadIndices_[i * 6 + 4] = i * 4 + 1;
quadIndices_[i * 6 + 5] = i * 4 + 2;
}
if (g_Config.bPrescaleUV) {