mirror of
https://github.com/Ale32bit/Capy64.git
synced 2025-01-18 10:36:44 +00:00
Fix #11 gpu.drawLine being offset
This commit is contained in:
parent
f124520a2f
commit
e926bd6d6b
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ public class GPU : IComponent
|
||||||
{
|
{
|
||||||
var L = Lua.FromIntPtr(state);
|
var L = Lua.FromIntPtr(state);
|
||||||
|
|
||||||
var x1 = (int)L.CheckNumber(1);
|
var x1 = (int)L.CheckNumber(1) - 1; // do not question, please
|
||||||
var y1 = (int)L.CheckNumber(2);
|
var y1 = (int)L.CheckNumber(2);
|
||||||
var x2 = (int)L.CheckNumber(3);
|
var x2 = (int)L.CheckNumber(3);
|
||||||
var y2 = (int)L.CheckNumber(4);
|
var y2 = (int)L.CheckNumber(4);
|
||||||
|
|
Loading…
Reference in a new issue