mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
done with the PGL refactoring
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package processing.lwjgl;
|
||||
|
||||
import processing.opengl.PGL;
|
||||
import processing.opengl.PGraphicsOpenGL;
|
||||
|
||||
public class PGraphics2D extends processing.opengl.PGraphics2D {
|
||||
protected PGL createPGL(PGraphicsOpenGL pg) {
|
||||
return new PLWJGL(pg);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package processing.lwjgl;
|
||||
|
||||
import processing.opengl.PGL;
|
||||
import processing.opengl.PGraphicsOpenGL;
|
||||
|
||||
public class PGraphics3D extends processing.opengl.PGraphics3D {
|
||||
protected PGL createPGL(PGraphicsOpenGL pg) {
|
||||
return new PLWJGL(pg);
|
||||
}
|
||||
}
|
||||
@@ -30,8 +30,7 @@ import processing.opengl.PGraphicsOpenGL;
|
||||
*
|
||||
*/
|
||||
public class PGraphicsLWJGL extends PGraphicsOpenGL {
|
||||
|
||||
static public PGL createPGL(PGraphicsOpenGL pg) {
|
||||
protected PGL createPGL(PGraphicsOpenGL pg) {
|
||||
return new PLWJGL(pg);
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user