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

gl-texture2d

Package Overview
Dependencies
Maintainers
11
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gl-texture2d - npm Package Compare versions

Comparing version 2.0.10 to 2.0.11

2

package.json
{
"name": "gl-texture2d",
"version": "2.0.10",
"version": "2.0.11",
"description": "WebGL texture wrapper",

@@ -5,0 +5,0 @@ "main": "texture.js",

@@ -126,3 +126,3 @@ gl-texture2d

### `tex.dispose()``
### `tex.dispose()`
Destroys the texture object and releases all of its resources. Under the hood this is equivalent to:

@@ -129,0 +129,0 @@

@@ -158,3 +158,3 @@ 'use strict'

if(psamples !== this._anisoSamples) {
var ext = gl.getExtension('EXT_texture_filter_anisotropic')
var ext = this.gl.getExtension('EXT_texture_filter_anisotropic')
if(ext) {

@@ -161,0 +161,0 @@ this.gl.texParameterf(this.gl.TEXTURE_2D, ext.TEXTURE_MAX_ANISOTROPY_EXT, this._anisoSamples)

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