소스 검색

TextureUtil: correct 2 typos

Stephen Gold 4 년 전
부모
커밋
a186509941
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      jme3-core/src/main/java/com/jme3/renderer/opengl/TextureUtil.java

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

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009-2019 jMonkeyEngine
+ * Copyright (c) 2009-2021 jMonkeyEngine
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -91,12 +91,12 @@ final class TextureUtil {
     }
 
     public GLImageFormat getImageFormatWithError(Format fmt, boolean isSrgb) {
-        //if the passed format is one kind of depth there isno point in getting the srgb format;
+        //if the passed format is one kind of depth there is no point in getting the srgb format;
         isSrgb = isSrgb && !fmt.isDepthFormat();
         GLImageFormat glFmt = getImageFormat(fmt, isSrgb);
         if (glFmt == null && isSrgb) {
             glFmt = getImageFormat(fmt, false);               
-            logger.log(Level.WARNING, "No sRGB format available for ''{0}''. Failling back to linear.", fmt);
+            logger.log(Level.WARNING, "No sRGB format available for ''{0}''. Falling back to linear.", fmt);
         }
         if (glFmt == null) { 
             throw new RendererException("Image format '" + fmt + "' is unsupported by the video hardware.");