Fix lurker error display
parent
b001c3143a
commit
709389f436
15
main.lua
15
main.lua
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue