mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 15:30:35 +00:00
[spline/bezier]Fix order of quad indices.
This commit is contained in:
parent
8cc7d8c71a
commit
368ebf7da3
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user