Browse Source

Fix typo;

bjorn 6 years ago
parent
commit
1f5f49cc02
2 changed files with 2 additions and 2 deletions
  1. 1 1
      api/init.lua
  2. 1 1
      api/lovr/graphics/print.lua

+ 1 - 1
api/init.lua

@@ -9215,7 +9215,7 @@ return {
             "lovr.graphics.newFont",
             "lovr.graphics.newFont",
             "Font"
             "Font"
           },
           },
-          notes = "Unicode text is supported.\n\nUse `\\n` to add line breaks.\n\nLÖVR uses a fancy technique for font rendering called multichanel signed distance fields.  This leads to crisp text in VR, but requires a special shader to use.  LÖVR internally switches to the appropriate shader, but only when the default shader is already set.  If you see strange font artifacts, make sure you switch back to the default shader by using `lovr.graphics.setShader()` before you draw text."
+          notes = "Unicode text is supported.\n\nUse `\\n` to add line breaks.\n\nLÖVR uses a fancy technique for font rendering called multichannel signed distance fields.  This leads to crisp text in VR, but requires a special shader to use.  LÖVR internally switches to the appropriate shader, but only when the default shader is already set.  If you see strange font artifacts, make sure you switch back to the default shader by using `lovr.graphics.setShader()` before you draw text."
         },
         },
         {
         {
           name = "push",
           name = "push",

+ 1 - 1
api/lovr/graphics/print.lua

@@ -84,7 +84,7 @@ return {
 
 
     Use `\n` to add line breaks.
     Use `\n` to add line breaks.
 
 
-    LÖVR uses a fancy technique for font rendering called multichanel signed distance fields.  This
+    LÖVR uses a fancy technique for font rendering called multichannel signed distance fields.  This
     leads to crisp text in VR, but requires a special shader to use.  LÖVR internally switches to
     leads to crisp text in VR, but requires a special shader to use.  LÖVR internally switches to
     the appropriate shader, but only when the default shader is already set.  If you see strange
     the appropriate shader, but only when the default shader is already set.  If you see strange
     font artifacts, make sure you switch back to the default shader by using
     font artifacts, make sure you switch back to the default shader by using