Rinnegatamante / lpp-vita

Lua Player Plus for PSVITA. Documentation on: http://rinnegatamante.github.io/lpp-vita/
GNU General Public License v3.0
179 stars 27 forks source link

Graphics.drawLine reads arguments in wrong order. #28

Closed NoName9138 closed 6 years ago

NoName9138 commented 6 years ago

The function Graphics.drawLine in Lua is documented as Graphics.drawLine (x1, y1, x2, y2, color).

But lua_line in C++ requires to call Graphics.drawLine (x1, x2, y1, y2, color)

Rinnegatamante commented 6 years ago

Fixed with https://github.com/Rinnegatamante/lpp-vita/commit/c84f0e2266bcef522f8002072815a1c7af1f04fe