diff --git a/examples/GetImage/GetImage.pde b/examples/GetImage/GetImage.pde index 88e7a6d..3232e6b 100644 --- a/examples/GetImage/GetImage.pde +++ b/examples/GetImage/GetImage.pde @@ -3,12 +3,8 @@ import codeanticode.syphon.*; PImage img; SyphonClient client; -void settings() { - size(480, 340, P3D); - PJOGL.profile = 2; -} - void setup() { + size(480, 340, P3D); // Create syhpon client to receive frames // from the first available running server: client = new SyphonClient(this); diff --git a/examples/MultipleClients/MultipleClients.pde b/examples/MultipleClients/MultipleClients.pde index ced3838..f0ecc5b 100644 --- a/examples/MultipleClients/MultipleClients.pde +++ b/examples/MultipleClients/MultipleClients.pde @@ -6,11 +6,6 @@ int nClients = 4; PGraphics[] canvas; SyphonClient[] clients; -//void settings() { -// size(400, 400, P3D); -// PJOGL.profile = 1; -//} - void setup() { size(400, 400, P3D); diff --git a/examples/MultipleServers/MultipleServers.pde b/examples/MultipleServers/MultipleServers.pde index a08aabd..4d3b709 100644 --- a/examples/MultipleServers/MultipleServers.pde +++ b/examples/MultipleServers/MultipleServers.pde @@ -7,12 +7,9 @@ PGraphics[] canvas; SyphonServer[] servers; color[] colors; -void settings() { +void setup() { size(400, 400, P3D); - PJOGL.profile = 3; -} -void setup() { canvas = new PGraphics[nServers]; for (int i = 0; i < nServers; i++) { canvas[i] = createGraphics(200, 200, P3D); diff --git a/examples/ReceiveFrames/ReceiveFrames.pde b/examples/ReceiveFrames/ReceiveFrames.pde index 93c4963..59d6412 100644 --- a/examples/ReceiveFrames/ReceiveFrames.pde +++ b/examples/ReceiveFrames/ReceiveFrames.pde @@ -3,11 +3,6 @@ import codeanticode.syphon.*; PGraphics canvas; SyphonClient client; -//void settings() { -// size(480, 340, P3D); -// PJOGL.profile = 1; -//} - public void setup() { size(480, 340, P3D); diff --git a/examples/SelectServer/SelectServer.pde b/examples/SelectServer/SelectServer.pde index 33db115..99b7b5d 100644 --- a/examples/SelectServer/SelectServer.pde +++ b/examples/SelectServer/SelectServer.pde @@ -7,15 +7,10 @@ SyphonClient[] clients; int nClients; -void settings() { - size(400, 400, P2D); - PJOGL.profile=2; -} - void setup() { + size(400, 400, P2D); frameRate(1); - HashMap[] allServers = SyphonClient.listServers(); int nServers = allServers.length; diff --git a/examples/SendFrames/SendFrames.pde b/examples/SendFrames/SendFrames.pde index 8aad3d7..1b1616f 100644 --- a/examples/SendFrames/SendFrames.pde +++ b/examples/SendFrames/SendFrames.pde @@ -3,11 +3,6 @@ import codeanticode.syphon.*; PGraphics canvas; SyphonServer server; -//void settings() { -// size(400,400, P3D); -// PJOGL.profile=1; -//} - void setup() { size(400,400, P3D); canvas = createGraphics(400, 400, P3D); diff --git a/examples/SendScreen/SendScreen.pde b/examples/SendScreen/SendScreen.pde index 303ec11..4ccf299 100644 --- a/examples/SendScreen/SendScreen.pde +++ b/examples/SendScreen/SendScreen.pde @@ -2,11 +2,6 @@ import codeanticode.syphon.*; SyphonServer server; -//void settings() { -// size(400,400, P3D); -// PJOGL.profile=1; -//} - void setup() { size(400,400, P3D);