Skip to content

Commit

Permalink
use default profile
Browse files Browse the repository at this point in the history
  • Loading branch information
codeanticode committed Sep 10, 2017
1 parent 6c2e44d commit 61a584d
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 35 deletions.
6 changes: 1 addition & 5 deletions examples/GetImage/GetImage.pde
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
5 changes: 0 additions & 5 deletions examples/MultipleClients/MultipleClients.pde
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
5 changes: 1 addition & 4 deletions examples/MultipleServers/MultipleServers.pde
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
5 changes: 0 additions & 5 deletions examples/ReceiveFrames/ReceiveFrames.pde
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
7 changes: 1 addition & 6 deletions examples/SelectServer/SelectServer.pde
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, String>[] allServers = SyphonClient.listServers();

int nServers = allServers.length;
Expand Down
5 changes: 0 additions & 5 deletions examples/SendFrames/SendFrames.pde
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
5 changes: 0 additions & 5 deletions examples/SendScreen/SendScreen.pde
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ import codeanticode.syphon.*;

SyphonServer server;

//void settings() {
// size(400,400, P3D);
// PJOGL.profile=1;
//}

void setup() {
size(400,400, P3D);

Expand Down

0 comments on commit 61a584d

Please sign in to comment.