mirror of
https://github.com/photonstorm/phaser
synced 2024-12-26 04:53:38 +00:00
20 lines
356 B
JavaScript
20 lines
356 B
JavaScript
|
var renderWebGL = require('../../utils/NOOP');
|
||
|
var renderCanvas = require('../../utils/NOOP');
|
||
|
|
||
|
if (WEBGL_RENDERER)
|
||
|
{
|
||
|
renderWebGL = require('./ParticleManagerWebGLRenderer');
|
||
|
}
|
||
|
|
||
|
if (CANVAS_RENDERER)
|
||
|
{
|
||
|
renderCanvas = require('./ParticleManagerCanvasRenderer');
|
||
|
}
|
||
|
|
||
|
module.exports = {
|
||
|
|
||
|
renderWebGL: renderWebGL,
|
||
|
renderCanvas: renderCanvas
|
||
|
|
||
|
};
|