File tree 1 file changed +3
-3
lines changed
jme3-core/src/main/java/com/jme3/renderer/opengl
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2009-2019 jMonkeyEngine
2
+ * Copyright (c) 2009-2021 jMonkeyEngine
3
3
* All rights reserved.
4
4
*
5
5
* Redistribution and use in source and binary forms, with or without
@@ -91,12 +91,12 @@ public GLImageFormat getImageFormat(Format fmt, boolean isSrgb) {
91
91
}
92
92
93
93
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;
95
95
isSrgb = isSrgb && !fmt .isDepthFormat ();
96
96
GLImageFormat glFmt = getImageFormat (fmt , isSrgb );
97
97
if (glFmt == null && isSrgb ) {
98
98
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 );
100
100
}
101
101
if (glFmt == null ) {
102
102
throw new RendererException ("Image format '" + fmt + "' is unsupported by the video hardware." );
You can’t perform that action at this time.
0 commit comments