I need to limit the size of the render buffer.
So far I have found only one method.
var view = cc.view.getCanvasSize(); var quality = 0.1; cc.game.canvas.width = view.width * quality; cc.game.canvas.height = view.height * quality; cc.view.setFrameZoomFactor(quality);
But this doesn’t work for the Canvas rendering mode.
I think that there is some standard method, but I can’t find it.