mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 13:43:26 +00:00
WEBGL build flag still needs canvas renderer for generateTexture
This commit is contained in:
parent
2d357d7526
commit
8b2f75a254
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,9 @@ var renderCanvas = require('../../utils/NOOP');
|
|||
if (WEBGL_RENDERER)
|
||||
{
|
||||
renderWebGL = require('./GraphicsWebGLRenderer');
|
||||
|
||||
// Needed for Graphics.generateTexture
|
||||
renderCanvas = require('./GraphicsCanvasRenderer');
|
||||
}
|
||||
|
||||
if (CANVAS_RENDERER)
|
||||
|
|
Loading…
Reference in a new issue