mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-21 14:29:55 +00:00
stuffz
This commit is contained in:
parent
77021e0abc
commit
979b1f1415
1 changed files with 2 additions and 2 deletions
|
|
@ -83,8 +83,8 @@ RB_METHOD(oneshotgetwindowpos)
|
|||
int x, y;
|
||||
SDL_GetWindowPosition(shState->rtData().window, &x, &y);
|
||||
VALUE ary = rb_ary_new();
|
||||
rb_ary_push(ary,x);
|
||||
rb_ary_push(ary,y);
|
||||
rb_ary_push(ary,rb_fix_new(x));
|
||||
rb_ary_push(ary,rb_fix_new(y));
|
||||
return ary;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue