summaryrefslogtreecommitdiffhomepage
path: root/ext
diff options
context:
space:
mode:
authorTom Black <[email protected]>2015-12-28 01:19:16 -0600
committerTom Black <[email protected]>2015-12-28 01:19:16 -0600
commit80856a94243ebeeb04977f241d559c85441cf151 (patch)
tree3474818a14f748675ebc62eb3e14c6afa22f780a /ext
parent84a3436e6be79c1b151609c3525d2bb5698fa626 (diff)
downloadruby2d-80856a94243ebeeb04977f241d559c85441cf151.tar.gz
ruby2d-80856a94243ebeeb04977f241d559c85441cf151.zip
Fixing `S2D_CreateWindow` API call
Flags should be Uint32
Diffstat (limited to 'ext')
-rw-r--r--ext/ruby2d/ruby2d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ruby2d/ruby2d.c b/ext/ruby2d/ruby2d.c
index 6beb4ba..790f83c 100644
--- a/ext/ruby2d/ruby2d.c
+++ b/ext/ruby2d/ruby2d.c
@@ -255,7 +255,7 @@ static VALUE ruby2d_show(VALUE s) {
int height = NUM2INT(rb_iv_get(self, "@height"));
window = S2D_CreateWindow(
- title, width, height, update, render, NULL
+ title, width, height, update, render, 0
);
window->on_key = on_key;