Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cardboard-vr-display

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cardboard-vr-display - npm Package Compare versions

Comparing version 1.0.16 to 1.0.18

4

package.json
{
"name": "cardboard-vr-display",
"version": "1.0.16",
"version": "1.0.18",
"homepage": "https://github.com/immersive-web/cardboard-vr-display",

@@ -43,4 +43,4 @@ "authors": [

"nosleep.js": "^0.7.0",
"webvr-polyfill-dpdb": "^1.0.11"
"webvr-polyfill-dpdb": "^1.0.17"
}
}

@@ -272,3 +272,9 @@ /*

// Hack for predistorted: true.
var canvas = this.layer_.source.getContext('webgl').canvas;
var gl = this.layer_.source.getContext('webgl');
if (!gl)
gl = this.layer_.source.getContext('experimental-webgl');
if (!gl)
gl = this.layer_.source.getContext('webgl2');
var canvas = gl.canvas;
if (canvas.width != this.lastWidth || canvas.height != this.lastHeight) {

@@ -300,2 +306,4 @@ this.cardboardUI_.onResize();

var gl = this.layer_.source.getContext('webgl');
if (!gl) gl = this.layer_.source.getContext('experimental-webgl');
if (!gl) gl = this.layer_.source.getContext('webgl2');
// Size the CSS canvas.

@@ -302,0 +310,0 @@ // Added padding on right and bottom because iPhone 5 will not

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc