Using fullscreen() with SPAN and the P2D renderer

I'm working with a sketch that needs to span over two displays, and when I use the renderer P2D (also P3D) the sketch window doesn't open. The task bars go away, and the window changes focus, but nothing opens. It works without the renderer, but my final sketch uses beginShape() with varying stroke color which requires the P2D renderer. Below, is a simpler example that I was using to test out what was wrong. Can anyone direct me as to how I can use SPAN and the P2D renderer? I'm on a mac mini running el capitan.

void settings(){ fullScreen(P2D, SPAN); }

void setup() { rectMode(CENTER); }

void draw() { background(0); fill(255); rect(width/2, height/2, 300, 300); }

Answers

Sign In or Register to comment.