Hi,
I'm exporting a fullscreen application on linux with File/Export Application and selecting the "fullscreen" checkbox.
I'm using size(screen.width,screen.height) so that the size of the sketch is that of the screen (otherwise, the fullscreen itself would be pretty useless).
When I run the exported application, it runs in fullscreen but only a 100x100 pixel square is drawn.
I guess the expot tool wants to know the size of the sketch at export time, but that's stupid and renders the fullscreen thing useless.
Below I attach a minimum example code. I would expect the whole screen to be black; instead, only the 100x100 square on the top-left corner is black; the rest is the default grey.
Is there a workaround for this? I need the application to work on any screen resolution.
Thanks
m.
void setup() {
size(screen.width,screen.height);
}
void draw() {
background(0);
}
1