Merge pull request #15 from ewdicus/master
Removed some merge conflict tags from Detector.js
This commit is contained in:
commit
0702bb02fd
1 changed files with 6 additions and 10 deletions
|
@ -15,21 +15,17 @@ PIXI.autoDetectRenderer = function(width, height, view)
|
|||
{
|
||||
if(!width)width = 800;
|
||||
if(!height)height = 600;
|
||||
|
||||
|
||||
// BORROWED from Mr Doob (mrdoob.com)
|
||||
var webgl = ( function () { try { return !! window.WebGLRenderingContext && !! document.createElement( 'canvas' ).getContext( 'experimental-webgl' ); } catch( e ) { return false; } } )()
|
||||
|
||||
var webgl = ( function () { try { return !! window.WebGLRenderingContext && !! document.createElement( 'canvas' ).getContext( 'experimental-webgl' ); } catch( e ) { return false; } } )();
|
||||
|
||||
//console.log(webgl);
|
||||
if( webgl )
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
return new PIXI.WebGLRenderer(width, height, view)
|
||||
=======
|
||||
return new PIXI.WebGLRenderer(width, height, view)
|
||||
>>>>>>> Interactivity Added
|
||||
return new PIXI.WebGLRenderer(width, height, view);
|
||||
}
|
||||
|
||||
|
||||
return new PIXI.CanvasRenderer(width, height, view);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue