Skip to content

Commit f719c4c

Browse files
committed
remove hacks
Signed-off-by: Umair Khan <[email protected]>
1 parent fb92045 commit f719c4c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

library/video_android.jar

-5.6 KB
Binary file not shown.

src/in/omerjerk/processing/video/android/VideoBase.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,7 @@ public void resume() {
210210
public void getImage(boolean loadPixels) {
211211

212212
if (destpg == null || destpg.width != width || destpg.height != height) {
213-
destpg = (PGraphicsOpenGL) parent.createGraphics(width, height,
214-
PConstants.P2D);
215-
destpg.pgl.setGlThread(Thread.currentThread());
213+
destpg = (PGraphicsOpenGL) parent.createGraphics(width, height, P2D);
216214
}
217215

218216
destpg.beginDraw();

0 commit comments

Comments
 (0)