mirror of
https://github.com/wassname/phaser.git
synced 2026-07-25 13:20:14 +08:00
Canvas and Stage added and starting to merge in Pixi deeply.
This commit is contained in:
@@ -308,7 +308,7 @@ Phaser.Device.prototype = {
|
||||
|
||||
this.file = !!window['File'] && !!window['FileReader'] && !!window['FileList'] && !!window['Blob'];
|
||||
this.fileSystem = !!window['requestFileSystem'];
|
||||
this.webGL = !!window['WebGLRenderingContext'];
|
||||
this.webGL = ( function () { try { return !! window.WebGLRenderingContext && !! document.createElement( 'canvas' ).getContext( 'experimental-webgl' ); } catch( e ) { return false; } } )();
|
||||
this.worker = !!window['Worker'];
|
||||
|
||||
if ('ontouchstart' in document.documentElement || window.navigator.msPointerEnabled) {
|
||||
|
||||
Reference in New Issue
Block a user