Fix lurker error display

master
informatic 2017-01-17 18:36:07 +01:00
parent b001c3143a
commit 709389f436
1 changed files with 7 additions and 8 deletions

View File

@ -9,10 +9,14 @@ NodeManager = require('core.node-manager')
local config = require('config')
local push = require('vendor.push')
local lurker = require('vendor.lurker')
local debugGraph = require('vendor.debugGraph')
local fpsGraph, memGraph;
local lurker = require('vendor.lurker')
lurker.quiet = true
lurker.interval = 3
local debugGraph = require('vendor.debugGraph')
local fpsGraph = debugGraph:new('fps', 0, 0)
local memGraph = debugGraph:new('mem', 0, 30)
local gameWidth, gameHeight = config.renderWidth, config.renderHeight
local windowWidth, windowHeight = love.window.getDesktopDimensions()
@ -35,11 +39,6 @@ function love.load()
manager:resize(push:getWidth(), push:getHeight())
love.mouse.setVisible( false )
fpsGraph = debugGraph:new('fps', 0, 0)
memGraph = debugGraph:new('mem', 0, 30)
lurker.quiet = true
end
function getw() return push:getWidth() end