surface.setResizable(true) crashes

edited January 2018 in Questions about Code

Hi guys,

I was trying to implement the resizable function into my program and playing around with it before my entire computer crashed and I have to restart.

void setup() {
  surface.setResizable(true);
  size(800, 600);
}

My program is an image processing (similar to paint) where a PImage can be edited. I wonder if it had something to do with the PImage's width and height. When you resized the program window to be less the PImage's dimension, the program would crash.

link to my program: https://github.com/Finaros/Pixcell

Thanks!

Tagged:
Sign In or Register to comment.