gl-texture2d
Advanced tools
Comparing version 2.0.10 to 2.0.11
{ | ||
"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) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24568