Fix issue #259: oy ignored in love.graphics.drawq

This commit is contained in:
vrld
2011-07-18 02:07:46 +02:00
parent 9923c02b64
commit b1c5b948c3
2 changed files with 18 additions and 16 deletions
@@ -757,8 +757,8 @@ namespace opengl
float sy = (float)luaL_optnumber(L, 7, sx);
float ox = (float)luaL_optnumber(L, 8, 0);
float oy = (float)luaL_optnumber(L, 9, 0);
float kx = (float)luaL_optnumber(L, 9, 0);
float ky = (float)luaL_optnumber(L, 10, 0);
float kx = (float)luaL_optnumber(L, 10, 0);
float ky = (float)luaL_optnumber(L, 11, 0);
image->drawq(q, x, y, angle, sx, sy, ox, oy, kx, ky);
return 0;
}