/ld27

To get this branch, use:
bzr branch http://9ix.org/bzr/ld27

« back to all changes in this revision

Viewing changes to zoetrope/core/app.lua

  • Committer: Josh C
  • Date: 2014-07-03 14:42:45 UTC
  • Revision ID: josh@9ix.org-20140703144245-zsf2q3in0zb1drvo
changes for love 0.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
 
137
137
                -- screen dimensions and state
138
138
 
139
 
    local w, h, flags = love.window.getMode()
140
 
    if not obj.width then obj.width = w end
141
 
    if not obj.height then obj.height = h end
142
 
    obj.windowflags = flags
 
139
                obj.width, obj.height, obj.windowflags = love.window.getMode()
143
140
                obj.fullscreen = obj.windowflags.fullscreen
144
141
 
145
142
                -- housekeeping