diff --git a/gamecore/modules/world/libs/hump/camera.lua b/gamecore/modules/world/libs/hump/camera.lua index cb86a79..34e7aef 100644 --- a/gamecore/modules/world/libs/hump/camera.lua +++ b/gamecore/modules/world/libs/hump/camera.lua @@ -107,9 +107,6 @@ function camera:attach(x,y,w,h, noclip) w,h = w or love.graphics.getWidth(), h or love.graphics.getHeight() self._sx,self._sy,self._sw,self._sh = love.graphics.getScissor() - if not noclip then - love.graphics.setScissor(x,y,w,h) - end local cx,cy = x+w/2, y+h/2 love.graphics.push() @@ -121,7 +118,6 @@ end function camera:detach() love.graphics.pop() - love.graphics.setScissor(self._sx,self._sy,self._sw,self._sh) end function camera:draw(...)