File tree Expand file tree Collapse file tree
jme3-core/src/main/java/com/jme3/renderer/opengl Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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." );
You can’t perform that action at this time.
0 commit comments