Newer
Older
pixi.js / test / isWebGLSupported.js
@Stafford Williams Stafford Williams on 16 Feb 2017 144 bytes centralise isWebGLSupported (#3740)
'use strict';

function isWebGLSupported(fn)
{
    return PIXI.utils.isWebGLSupported() ? fn : undefined;
}

module.exports = isWebGLSupported;