GLRenderer: log texture formats as Level.FINE
This commit is contained in:
parent
963c3d7e61
commit
bbbfdb851a
@ -65,8 +65,9 @@ final class TextureUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void initialize(EnumSet<Caps> caps) {
|
public void initialize(EnumSet<Caps> caps) {
|
||||||
StringBuilder sb = new StringBuilder();
|
|
||||||
this.formats = GLImageFormats.getFormatsForCaps(caps);
|
this.formats = GLImageFormats.getFormatsForCaps(caps);
|
||||||
|
if (logger.isLoggable(Level.FINE)) {
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.append("Supported texture formats: \n");
|
sb.append("Supported texture formats: \n");
|
||||||
for (int i = 0; i < Format.values().length; i++) {
|
for (int i = 0; i < Format.values().length; i++) {
|
||||||
Format format = Format.values()[i];
|
Format format = Format.values()[i];
|
||||||
@ -78,7 +79,8 @@ final class TextureUtil {
|
|||||||
sb.append(")\n");
|
sb.append(")\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
logger.log(Level.INFO, sb.toString());
|
logger.log(Level.FINE, sb.toString());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public GLImageFormat getImageFormat(Format fmt, boolean isSrgb) {
|
public GLImageFormat getImageFormat(Format fmt, boolean isSrgb) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user