Skip to content

Commit a186509

Browse files
committed
TextureUtil: correct 2 typos
1 parent 1107105 commit a186509

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jme3-core/src/main/java/com/jme3/renderer/opengl/TextureUtil.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2009-2019 jMonkeyEngine
2+
* Copyright (c) 2009-2021 jMonkeyEngine
33
* All rights reserved.
44
*
55
* Redistribution and use in source and binary forms, with or without
@@ -91,12 +91,12 @@ public GLImageFormat getImageFormat(Format fmt, boolean isSrgb) {
9191
}
9292

9393
public GLImageFormat getImageFormatWithError(Format fmt, boolean isSrgb) {
94-
//if the passed format is one kind of depth there isno point in getting the srgb format;
94+
//if the passed format is one kind of depth there is no point in getting the srgb format;
9595
isSrgb = isSrgb && !fmt.isDepthFormat();
9696
GLImageFormat glFmt = getImageFormat(fmt, isSrgb);
9797
if (glFmt == null && isSrgb) {
9898
glFmt = getImageFormat(fmt, false);
99-
logger.log(Level.WARNING, "No sRGB format available for ''{0}''. Failling back to linear.", fmt);
99+
logger.log(Level.WARNING, "No sRGB format available for ''{0}''. Falling back to linear.", fmt);
100100
}
101101
if (glFmt == null) {
102102
throw new RendererException("Image format '" + fmt + "' is unsupported by the video hardware.");

0 commit comments

Comments
 (0)