Fixed DrawTarget.drawTextureInterpolate ignoring color parameter

This commit is contained in:
bdew committed 2014-09-16 14:57:37 +03:00
1 parent c5a7fc3d51
commit 5a1c150a03
1 file changed
+1 -1
+1 -1
View File
@@ -20,7 +20,7 @@ trait DrawTarget {
def drawTextMultiline(text: String, r: Rect, color: Color)
def drawTextureInterpolate(r: Rect, t: Texture, x1: Float, y1: Float, x2: Float, y2: Float, color: Color = Color.white) =
drawTexture(r.interpolate(x1, y1, x2, y2), Texture.interpolate(t, x1, y1, x2, y2))
drawTexture(r.interpolate(x1, y1, x2, y2), Texture.interpolate(t, x1, y1, x2, y2), color)
}
trait SimpleDrawTarget extends DrawTarget {