Make Renderer.initialize() a standard method since everyone already uses it anyway
This commit is contained in:
parent
ad26e916ee
commit
d8b9c6dab5
@ -55,6 +55,8 @@ import java.util.EnumSet;
|
||||
*/
|
||||
public interface Renderer {
|
||||
|
||||
public void initialize();
|
||||
|
||||
/**
|
||||
* Get the capabilities of the renderer.
|
||||
* @return The capabilities of the renderer.
|
||||
|
@ -54,6 +54,9 @@ public class NullRenderer implements Renderer {
|
||||
private static final EnumSet<Caps> caps = EnumSet.noneOf(Caps.class);
|
||||
private static final Statistics stats = new Statistics();
|
||||
|
||||
public void initialize() {
|
||||
}
|
||||
|
||||
public EnumSet<Caps> getCaps() {
|
||||
return caps;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user