diff --git a/drivers/gles_common/rasterizer_canvas_batcher.h b/drivers/gles_common/rasterizer_canvas_batcher.h index 926b3fb34e1..e53d338704b 100644 --- a/drivers/gles_common/rasterizer_canvas_batcher.h +++ b/drivers/gles_common/rasterizer_canvas_batcher.h @@ -1651,9 +1651,8 @@ bool C_PREAMBLE::_prefill_polygon(RasterizerCanvas::Item::CommandPolygon *p_poly const Transform2D &tr = r_fill_state.transform_combined; pBT[0].translate.set(tr.elements[2]); - // could do swizzling in shader? - pBT[0].basis[0].set(tr.elements[0][0], tr.elements[1][0]); - pBT[0].basis[1].set(tr.elements[0][1], tr.elements[1][1]); + pBT[0].basis[0].set(tr.elements[0][0], tr.elements[0][1]); + pBT[0].basis[1].set(tr.elements[1][0], tr.elements[1][1]); } ////////////////////////////////////