mirror of
https://github.com/processing/processing4.git
synced 2026-02-02 21:29:17 +01:00
removed som test code
This commit is contained in:
@@ -3297,15 +3297,6 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
vertex(x1, y1, info.u1, info.v1);
|
||||
vertex(x0, y1, info.u0, info.v1);
|
||||
endShape();
|
||||
|
||||
if (PApplet.abs(info.crop[2]) != PApplet.abs(x1 - x0)) {
|
||||
PApplet.println("X: " + PApplet.abs(x1 - x0) + ": " + PApplet.abs(info.crop[2]));
|
||||
}
|
||||
if (PApplet.abs(info.crop[3]) != PApplet.abs(y1 - y0)) {
|
||||
PApplet.println("Y: " + PApplet.abs(y1 - y0) + ": " + PApplet.abs(info.crop[3]));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -5350,8 +5341,7 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
pgl.initOffscreenSurface(pgPrimary.pgl);
|
||||
pgl.updateOffscreen(pgPrimary.pgl);
|
||||
|
||||
//loadTextureImpl(Texture.BILINEAR, false);
|
||||
loadTextureImpl(Texture.POINT, false);
|
||||
loadTextureImpl(Texture.BILINEAR, false);
|
||||
|
||||
// In case of reinitialization (for example, when the smooth level
|
||||
// is changed), we make sure that all the OpenGL resources associated
|
||||
|
||||
Reference in New Issue
Block a user