mirror of
https://github.com/pevans/erc-c.git
synced 2024-11-23 23:32:45 +00:00
Use size options for window
This commit is contained in:
parent
609e3eea7c
commit
53db99f4fd
@ -103,7 +103,10 @@ main(int argc, char **argv)
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!vm_screen_add_window(screen, 640, 480)) {
|
err = vm_screen_add_window(screen,
|
||||||
|
option_get_width(),
|
||||||
|
option_get_height());
|
||||||
|
if (err != OK) {
|
||||||
fprintf(stderr, "Window creation failed!\n");
|
fprintf(stderr, "Window creation failed!\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user