From b42a08ab315735b8a3de92d4f346ea93039c25ab Mon Sep 17 00:00:00 2001 From: Zack <47506102+RevelMind@users.noreply.github.com> Date: Wed, 11 Dec 2019 16:01:14 -0600 Subject: [PATCH 01/11] Update push.lua --- pong-10/push.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pong-10/push.lua b/pong-10/push.lua index 0e0709a..b11b1cc 100644 --- a/pong-10/push.lua +++ b/pong-10/push.lua @@ -98,7 +98,7 @@ function push:setShader(name, shader) end function push:initValues() - self._PSCALE = self._highdpi and love.window.getPixelScale() or 1 + self._PSCALE = self._highdpi and love.window.getDPIScale() or 1 self._SCALE = { x = self._RWIDTH/self._WWIDTH * self._PSCALE, From ae49f2e2ce0d6eff1ce9eb8f5925e5e09d2caea0 Mon Sep 17 00:00:00 2001 From: Zack <47506102+RevelMind@users.noreply.github.com> Date: Wed, 11 Dec 2019 16:01:30 -0600 Subject: [PATCH 02/11] Update push.lua --- pong-11/push.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pong-11/push.lua b/pong-11/push.lua index 0e0709a..b11b1cc 100644 --- a/pong-11/push.lua +++ b/pong-11/push.lua @@ -98,7 +98,7 @@ function push:setShader(name, shader) end function push:initValues() - self._PSCALE = self._highdpi and love.window.getPixelScale() or 1 + self._PSCALE = self._highdpi and love.window.getDPIScale() or 1 self._SCALE = { x = self._RWIDTH/self._WWIDTH * self._PSCALE, From 96fdc4040e1383f7b3544c6eb1aec8a3ca223647 Mon Sep 17 00:00:00 2001 From: Zack <47506102+RevelMind@users.noreply.github.com> Date: Wed, 11 Dec 2019 16:01:41 -0600 Subject: [PATCH 03/11] Update push.lua --- pong-12/push.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pong-12/push.lua b/pong-12/push.lua index 0e0709a..b11b1cc 100644 --- a/pong-12/push.lua +++ b/pong-12/push.lua @@ -98,7 +98,7 @@ function push:setShader(name, shader) end function push:initValues() - self._PSCALE = self._highdpi and love.window.getPixelScale() or 1 + self._PSCALE = self._highdpi and love.window.getDPIScale() or 1 self._SCALE = { x = self._RWIDTH/self._WWIDTH * self._PSCALE, From 5223072af8b4a388c6f4409e0305630495362c07 Mon Sep 17 00:00:00 2001 From: Zack <47506102+RevelMind@users.noreply.github.com> Date: Wed, 11 Dec 2019 16:01:54 -0600 Subject: [PATCH 04/11] Update push.lua --- pong-2/push.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pong-2/push.lua b/pong-2/push.lua index 0e0709a..b11b1cc 100644 --- a/pong-2/push.lua +++ b/pong-2/push.lua @@ -98,7 +98,7 @@ function push:setShader(name, shader) end function push:initValues() - self._PSCALE = self._highdpi and love.window.getPixelScale() or 1 + self._PSCALE = self._highdpi and love.window.getDPIScale() or 1 self._SCALE = { x = self._RWIDTH/self._WWIDTH * self._PSCALE, From ea6667fdd2b30479fff566b2b02f2bc542497f15 Mon Sep 17 00:00:00 2001 From: Zack <47506102+RevelMind@users.noreply.github.com> Date: Wed, 11 Dec 2019 16:02:05 -0600 Subject: [PATCH 05/11] Update push.lua --- pong-3/push.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pong-3/push.lua b/pong-3/push.lua index 0e0709a..b11b1cc 100644 --- a/pong-3/push.lua +++ b/pong-3/push.lua @@ -98,7 +98,7 @@ function push:setShader(name, shader) end function push:initValues() - self._PSCALE = self._highdpi and love.window.getPixelScale() or 1 + self._PSCALE = self._highdpi and love.window.getDPIScale() or 1 self._SCALE = { x = self._RWIDTH/self._WWIDTH * self._PSCALE, From 8447dac583eac5dee624ffa2fe0c6e8b48c806fd Mon Sep 17 00:00:00 2001 From: Zack <47506102+RevelMind@users.noreply.github.com> Date: Wed, 11 Dec 2019 16:02:20 -0600 Subject: [PATCH 06/11] Update push.lua --- pong-4/push.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pong-4/push.lua b/pong-4/push.lua index 0e0709a..b11b1cc 100644 --- a/pong-4/push.lua +++ b/pong-4/push.lua @@ -98,7 +98,7 @@ function push:setShader(name, shader) end function push:initValues() - self._PSCALE = self._highdpi and love.window.getPixelScale() or 1 + self._PSCALE = self._highdpi and love.window.getDPIScale() or 1 self._SCALE = { x = self._RWIDTH/self._WWIDTH * self._PSCALE, From bc60bac88d0d0818f89e1f8b4b85cc41e9181bb1 Mon Sep 17 00:00:00 2001 From: Zack <47506102+RevelMind@users.noreply.github.com> Date: Wed, 11 Dec 2019 16:02:37 -0600 Subject: [PATCH 07/11] Update push.lua --- pong-5/push.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pong-5/push.lua b/pong-5/push.lua index 0e0709a..b11b1cc 100644 --- a/pong-5/push.lua +++ b/pong-5/push.lua @@ -98,7 +98,7 @@ function push:setShader(name, shader) end function push:initValues() - self._PSCALE = self._highdpi and love.window.getPixelScale() or 1 + self._PSCALE = self._highdpi and love.window.getDPIScale() or 1 self._SCALE = { x = self._RWIDTH/self._WWIDTH * self._PSCALE, From 6d6000916b3c7d9b4c8d21f9972d7113c2a87d9e Mon Sep 17 00:00:00 2001 From: Zack <47506102+RevelMind@users.noreply.github.com> Date: Wed, 11 Dec 2019 16:02:51 -0600 Subject: [PATCH 08/11] Update push.lua --- pong-6/push.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pong-6/push.lua b/pong-6/push.lua index 0e0709a..b11b1cc 100644 --- a/pong-6/push.lua +++ b/pong-6/push.lua @@ -98,7 +98,7 @@ function push:setShader(name, shader) end function push:initValues() - self._PSCALE = self._highdpi and love.window.getPixelScale() or 1 + self._PSCALE = self._highdpi and love.window.getDPIScale() or 1 self._SCALE = { x = self._RWIDTH/self._WWIDTH * self._PSCALE, From 1cf5222034781ff56f3419d54ddf499463deb6fa Mon Sep 17 00:00:00 2001 From: Zack <47506102+RevelMind@users.noreply.github.com> Date: Wed, 11 Dec 2019 16:03:02 -0600 Subject: [PATCH 09/11] Update push.lua --- pong-8/push.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pong-8/push.lua b/pong-8/push.lua index 0e0709a..b11b1cc 100644 --- a/pong-8/push.lua +++ b/pong-8/push.lua @@ -98,7 +98,7 @@ function push:setShader(name, shader) end function push:initValues() - self._PSCALE = self._highdpi and love.window.getPixelScale() or 1 + self._PSCALE = self._highdpi and love.window.getDPIScale() or 1 self._SCALE = { x = self._RWIDTH/self._WWIDTH * self._PSCALE, From 8cd139c93e176343ab936adcea89f0118743832e Mon Sep 17 00:00:00 2001 From: Zack <47506102+RevelMind@users.noreply.github.com> Date: Wed, 11 Dec 2019 16:03:14 -0600 Subject: [PATCH 10/11] Update push.lua --- pong-9/push.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pong-9/push.lua b/pong-9/push.lua index 0e0709a..b11b1cc 100644 --- a/pong-9/push.lua +++ b/pong-9/push.lua @@ -98,7 +98,7 @@ function push:setShader(name, shader) end function push:initValues() - self._PSCALE = self._highdpi and love.window.getPixelScale() or 1 + self._PSCALE = self._highdpi and love.window.getDPIScale() or 1 self._SCALE = { x = self._RWIDTH/self._WWIDTH * self._PSCALE, From 33c89df5ecc792c19449ae74cae59f04004aac90 Mon Sep 17 00:00:00 2001 From: Zack <47506102+RevelMind@users.noreply.github.com> Date: Wed, 11 Dec 2019 16:03:46 -0600 Subject: [PATCH 11/11] Update push_old.lua --- pong-final/push_old.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pong-final/push_old.lua b/pong-final/push_old.lua index 0e0709a..b11b1cc 100644 --- a/pong-final/push_old.lua +++ b/pong-final/push_old.lua @@ -98,7 +98,7 @@ function push:setShader(name, shader) end function push:initValues() - self._PSCALE = self._highdpi and love.window.getPixelScale() or 1 + self._PSCALE = self._highdpi and love.window.getDPIScale() or 1 self._SCALE = { x = self._RWIDTH/self._WWIDTH * self._PSCALE,