- size[0] = w;
- size[1] = h;
- if (screen_set_window_property_iv(sWindow, SCREEN_PROPERTY_BUFFER_SIZE, size)) {
- screen_destroy_window(sWindow);
- fgError("Could not set window buffer size");
- return;
+ if(sizeUse) {
+ size[0] = w;
+ size[1] = h;
+ if (screen_set_window_property_iv(sWindow, SCREEN_PROPERTY_BUFFER_SIZE, size)) {
+ screen_destroy_window(sWindow);
+ fgError("Could not set window buffer size");
+ return;
+ }