This commit is contained in:
jonathan de jong 2017-04-03 12:33:38 +02:00
parent 77021e0abc
commit 979b1f1415

View file

@ -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;
}