Browse Source

Fix a typo in the love.window.getNativeDPIScale function name.

Alex Szpakowski 5 years ago
parent
commit
16dd33b1ff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/window/wrap_Window.cpp

+ 1 - 1
src/modules/window/wrap_Window.cpp

@@ -640,7 +640,7 @@ static const luaL_Reg functions[] =
 	{ "hasMouseFocus", w_hasMouseFocus },
 	{ "isVisible", w_isVisible },
 	{ "getDPIScale", w_getDPIScale },
-	{ "nativeDPIScale", w_getNativeDPIScale },
+	{ "getNativeDPIScale", w_getNativeDPIScale },
 	{ "toPixels", w_toPixels },
 	{ "fromPixels", w_fromPixels },
 	{ "minimize", w_minimize },