mirror of
https://github.com/processing/processing4.git
synced 2026-01-28 02:41:08 +01:00
Updated opengl2 to remove use of PMetadata class
This commit is contained in:
@@ -27,7 +27,6 @@ import java.util.HashMap;
|
||||
import processing.core.PApplet;
|
||||
import processing.core.PConstants;
|
||||
import processing.core.PFont;
|
||||
import processing.core.PMetadata;
|
||||
|
||||
/**
|
||||
* All the infrastructure needed for optimized font rendering
|
||||
@@ -35,7 +34,7 @@ import processing.core.PMetadata;
|
||||
* By Andres Colubri
|
||||
*
|
||||
*/
|
||||
class PFontTexture extends PMetadata implements PConstants {
|
||||
class PFontTexture implements PConstants {
|
||||
protected PApplet parent;
|
||||
protected PFont font;
|
||||
|
||||
|
||||
@@ -29,7 +29,6 @@ import java.nio.*;
|
||||
import processing.core.PApplet;
|
||||
import processing.core.PConstants;
|
||||
import processing.core.PImage;
|
||||
import processing.core.PMetadata;
|
||||
import processing.core.PParameters;
|
||||
|
||||
|
||||
@@ -39,7 +38,7 @@ import processing.core.PParameters;
|
||||
*
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public class PTexture extends PMetadata implements PConstants {
|
||||
public class PTexture implements PConstants {
|
||||
public int width, height;
|
||||
|
||||
protected PApplet parent;
|
||||
@@ -137,7 +136,7 @@ public class PTexture extends PMetadata implements PConstants {
|
||||
}
|
||||
|
||||
|
||||
public void delete() {
|
||||
public void delete() {
|
||||
deleteTexture();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user