phaser/src/gameobjects/bitmaptext/static/BitmapTextRender.js

20 lines
352 B
JavaScript
Raw Normal View History

var renderWebGL = require('../../../utils/NOOP');
var renderCanvas = require('../../../utils/NOOP');
if (WEBGL_RENDERER)
{
renderWebGL = require('./BitmapTextWebGLRenderer');
}
if (CANVAS_RENDERER)
{
renderCanvas = require('./BitmapTextCanvasRenderer');
}
2017-02-23 18:18:01 +00:00
module.exports = {
renderWebGL: renderWebGL,
renderCanvas: renderCanvas
2017-02-23 18:18:01 +00:00
};