phaser/src/tilemaps/staticlayer/StaticTilemapLayerRender.js
2018-02-07 17:10:01 +00:00

19 lines
362 B
JavaScript

var renderWebGL = require('../../utils/NOOP');
var renderCanvas = require('../../utils/NOOP');
if (WEBGL_RENDERER)
{
renderWebGL = require('./StaticTilemapLayerWebGLRenderer');
}
if (CANVAS_RENDERER)
{
renderCanvas = require('./StaticTilemapLayerCanvasRenderer');
}
module.exports = {
renderWebGL: renderWebGL,
renderCanvas: renderCanvas
};