Skip to content

Commit 8873bdc

Browse files
committed
Fixed pipeline method call
1 parent 6877582 commit 8873bdc

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextWebGLRenderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ var DynamicBitmapTextWebGLRenderer = function (renderer, src, interpolationPerce
286286
ty3 |= 0;
287287
}
288288

289-
pipeline.batchVertices(tx0, ty0, tx1, ty1, tx2, ty2, tx3, ty3, u0, v0, u1, v1, tintTL, tintTR, tintBL, tintBR, tintEffect);
289+
pipeline.batchQuad(tx0, ty0, tx1, ty1, tx2, ty2, tx3, ty3, u0, v0, u1, v1, tintTL, tintTR, tintBL, tintBR, tintEffect);
290290
}
291291

292292
if (crop)

src/gameobjects/bitmaptext/static/BitmapTextWebGLRenderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ var BitmapTextWebGLRenderer = function (renderer, src, interpolationPercentage,
216216
ty3 |= 0;
217217
}
218218

219-
pipeline.batchVertices(tx0, ty0, tx1, ty1, tx2, ty2, tx3, ty3, u0, v0, u1, v1, tintTL, tintTR, tintBL, tintBR, tintEffect);
219+
pipeline.batchQuad(tx0, ty0, tx1, ty1, tx2, ty2, tx3, ty3, u0, v0, u1, v1, tintTL, tintTR, tintBL, tintBR, tintEffect);
220220
}
221221
};
222222

src/gameobjects/blitter/BlitterWebGLRenderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ var BlitterWebGLRenderer = function (renderer, src, interpolationPercentage, cam
113113
}
114114

115115
// TL x/y, BL x/y, BR x/y, TR x/y
116-
if (pipeline.batchVertices(tx0, ty0, tx0, ty1, tx1, ty1, tx1, ty0, frame.u0, frame.v0, frame.u1, frame.v1, tint, tint, tint, tint, tintEffect))
116+
if (pipeline.batchQuad(tx0, ty0, tx0, ty1, tx1, ty1, tx1, ty0, frame.u0, frame.v0, frame.u1, frame.v1, tint, tint, tint, tint, tintEffect))
117117
{
118118
prevTextureSourceIndex = -1;
119119
}

src/gameobjects/particles/ParticleManagerWebGLRenderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ var ParticleManagerWebGLRenderer = function (renderer, emitterManager, interpola
124124
ty3 |= 0;
125125
}
126126

127-
if (pipeline.batchVertices(tx0, ty0, tx1, ty1, tx2, ty2, tx3, ty3, frame.u0, frame.v0, frame.u1, frame.v1, color, color, color, color, tintEffect))
127+
if (pipeline.batchQuad(tx0, ty0, tx1, ty1, tx2, ty2, tx3, ty3, frame.u0, frame.v0, frame.u1, frame.v1, color, color, color, color, tintEffect))
128128
{
129129
pipeline.setTexture2D(texture, 0);
130130
}

0 commit comments

Comments
 (0)