/zoeplat

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

« back to all changes in this revision

Viewing changes to zoetrope/core/app.lua

  • Committer: Josh C
  • Date: 2013-04-21 20:40:19 UTC
  • Revision ID: josh@9ix.org-20130421204019-14mx4bztdt4wnbg6
automated build script - pull love win/mac & assemble the parts

Show diffs side-by-side

added added

removed removed

Lines of Context:
397
397
        end,
398
398
        
399
399
        draw = function (self)
 
400
drawStart = love.timer.getMicroTime()
400
401
                local inset = self.inset.x ~= 0 or self.inset.y ~= 0
401
402
 
402
403
                if inset then love.graphics.translate(self.inset.x, self.inset.y) end
407
408
                -- sleep off any unneeded time to keep up at our FPS
408
409
 
409
410
                local now = love.timer.getMicroTime()
410
 
 
 
411
the.drawTook = now - drawStart
411
412
                if self._nextFrameTime < now then
412
413
                        self._nextFrameTime = now
413
414
                else