mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 19:43:28 +00:00
20 lines
352 B
JavaScript
20 lines
352 B
JavaScript
|
var renderWebGL = require('../../utils/NOOP');
|
||
|
var renderCanvas = require('../../utils/NOOP');
|
||
|
|
||
|
if (WEBGL_RENDERER)
|
||
|
{
|
||
|
renderWebGL = require('./RenderTextureWebGLRenderer');
|
||
|
}
|
||
|
|
||
|
if (CANVAS_RENDERER)
|
||
|
{
|
||
|
renderCanvas = require('./RenderTextureCanvasRenderer');
|
||
|
}
|
||
|
|
||
|
module.exports = {
|
||
|
|
||
|
renderWebGL: renderWebGL,
|
||
|
renderCanvas: renderCanvas
|
||
|
|
||
|
};
|