phaser/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextRender.js

20 lines
366 B
JavaScript
Raw Normal View History

var renderWebGL = require('../../../utils/NOOP');
var renderCanvas = require('../../../utils/NOOP');
if (WEBGL_RENDERER)
{
renderWebGL = require('./DynamicBitmapTextWebGLRenderer');
}
if (CANVAS_RENDERER)
{
renderCanvas = require('./DynamicBitmapTextCanvasRenderer');
}
2017-03-08 22:36:53 +00:00
module.exports = {
renderWebGL: renderWebGL,
renderCanvas: renderCanvas
2017-03-08 22:36:53 +00:00
};