Skip to content

Commit

Permalink
Update docs for the forceCanvas option
Browse files Browse the repository at this point in the history
It seems this option is only available in pixi.js-legacy, and it
seems you can't use forceCanvas with pixi.js anymore. The docs should
state that.

* #5417
* #5389
  • Loading branch information
nikolas committed Feb 22, 2019
1 parent 53b354f commit 39c921f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/app/src/Application.js
Expand Up @@ -38,6 +38,7 @@ export default class Application
* need to call toDataUrl on the WebGL context.
* @param {number} [options.resolution=1] - The resolution / device pixel ratio of the renderer, retina would be 2.
* @param {boolean} [options.forceCanvas=false] - Prevents selection of WebGL renderer, even if such is present.
* This option is only available in the `pixi.js-legacy` package.
* @param {number} [options.backgroundColor=0x000000] - The background color of the rendered area
* (shown if not transparent).
* @param {boolean} [options.clearBeforeRender=true] - This sets if the renderer will clear the canvas or
Expand Down

0 comments on commit 39c921f

Please sign in to comment.