stuffz
This commit is contained in:
parent
77021e0abc
commit
979b1f1415
|
|
@ -83,8 +83,8 @@ RB_METHOD(oneshotgetwindowpos)
|
||||||
int x, y;
|
int x, y;
|
||||||
SDL_GetWindowPosition(shState->rtData().window, &x, &y);
|
SDL_GetWindowPosition(shState->rtData().window, &x, &y);
|
||||||
VALUE ary = rb_ary_new();
|
VALUE ary = rb_ary_new();
|
||||||
rb_ary_push(ary,x);
|
rb_ary_push(ary,rb_fix_new(x));
|
||||||
rb_ary_push(ary,y);
|
rb_ary_push(ary,rb_fix_new(y));
|
||||||
return ary;
|
return ary;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue