Commit 4dab6576 authored by Phil Hagelberg's avatar Phil Hagelberg
Browse files

Merge branch 'retina-display' into 'master'

Scale window for retina display

See merge request !66
parents be3f1c92 76dd51de
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -40,6 +40,9 @@ end

return function(dt)
   local w,h = love.window.getMode()
   local pixelScale = love.window.getPixelScale()
   w = w * pixelScale
   h = h * pixelScale
   for _,s in pairs(stars) do starfield.render(s, ship.x, ship.y, w, h) end

   love.graphics.push()