Skip to content

Commit

Permalink
added factor argument, temprarily set to 1 until retina resolutions are
Browse files Browse the repository at this point in the history
properly supported throughout
  • Loading branch information
codeanticode committed Feb 27, 2015
1 parent 37e9648 commit 6c86180
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/processing/video/Capture.java
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ public synchronized void read() {
}

if (firstFrame) {
super.init(bufWidth, bufHeight, ARGB);
super.init(bufWidth, bufHeight, ARGB, 1);
firstFrame = false;
}

Expand Down Expand Up @@ -419,7 +419,7 @@ public synchronized void read() {
}

if (firstFrame) {
super.init(bufWidth, bufHeight, RGB);
super.init(bufWidth, bufHeight, RGB, 1);
firstFrame = false;
}

Expand Down
4 changes: 2 additions & 2 deletions src/processing/video/Movie.java
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ public synchronized void read() {
}

if (firstFrame) {
super.init(bufWidth, bufHeight, ARGB);
super.init(bufWidth, bufHeight, ARGB, 1);
firstFrame = false;
}

Expand Down Expand Up @@ -556,7 +556,7 @@ public synchronized void read() {
}

if (firstFrame) {
super.init(bufWidth, bufHeight, RGB);
super.init(bufWidth, bufHeight, RGB, 1);
firstFrame = false;
}

Expand Down

0 comments on commit 6c86180

Please sign in to comment.