Skip to content

Commit 2f8b587

Browse files
committed
build
1 parent 85a8765 commit 2f8b587

18 files changed

+53
-27
lines changed

dist/6.x/twgl-full.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1584,6 +1584,8 @@ export function setTextureFromArray(gl: WebGLRenderingContext, tex: WebGLTexture
15841584
/**
15851585
* Creates a texture based on the options passed in.
15861586
*
1587+
* See {@link TextureOptions}
1588+
*
15871589
* Note: may reset UNPACK_ALIGNMENT, UNPACK_ROW_LENGTH, UNPACK_IMAGE_HEIGHT, UNPACK_SKIP_IMAGES
15881590
* UNPACK_SKIP_PIXELS, and UNPACK_SKIP_ROWS
15891591
*
@@ -3017,6 +3019,8 @@ export function setEmptyTexture(gl: WebGLRenderingContext, tex: WebGLTexture, op
30173019
/**
30183020
* Creates a texture based on the options passed in.
30193021
*
3022+
* See {@link TextureOptions}
3023+
*
30203024
* Note: may reset UNPACK_ALIGNMENT, UNPACK_ROW_LENGTH, UNPACK_IMAGE_HEIGHT, UNPACK_SKIP_IMAGES
30213025
* UNPACK_SKIP_PIXELS, and UNPACK_SKIP_ROWS
30223026
*

dist/6.x/twgl-full.js

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/6.x/twgl-full.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/6.x/twgl-full.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/6.x/twgl-full.module.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* @license twgl.js 6.1.0 Copyright (c) 2015, Gregg Tavares All Rights Reserved.
1+
/* @license twgl.js 6.1.1 Copyright (c) 2015, Gregg Tavares All Rights Reserved.
22
Available via the MIT license.
33
see: http://github.com/greggman/twgl.js for details */
44
/*
@@ -6604,6 +6604,8 @@ function setEmptyTexture(gl, tex, options) {
66046604
/**
66056605
* Creates a texture based on the options passed in.
66066606
*
6607+
* See {@link module:twgl.TextureOptions}
6608+
*
66076609
* Note: may reset UNPACK_ALIGNMENT, UNPACK_ROW_LENGTH, UNPACK_IMAGE_HEIGHT, UNPACK_SKIP_IMAGES
66086610
* UNPACK_SKIP_PIXELS, and UNPACK_SKIP_ROWS
66096611
*
@@ -7651,7 +7653,7 @@ function getShaderTypeFromScriptType(gl, scriptType) {
76517653
function deleteProgramAndShaders(gl, program, notThese) {
76527654
const shaders = gl.getAttachedShaders(program);
76537655
for (const shader of shaders) {
7654-
if (notThese.has(shader)) {
7656+
if (!notThese.has(shader)) {
76557657
gl.deleteShader(shader);
76567658
}
76577659
}
@@ -7680,8 +7682,8 @@ function createProgramNoCheck(gl, shaders, programOptions) {
76807682
shader = gl.createShader(type);
76817683
gl.shaderSource(shader, prepShaderSource(src).shaderSource);
76827684
gl.compileShader(shader);
7683-
gl.attachShader(program, shader);
76847685
}
7686+
gl.attachShader(program, shader);
76857687
}
76867688

76877689
Object.entries(attribLocations).forEach(([attrib, loc]) => gl.bindAttribLocation(program, loc, attrib));

dist/6.x/twgl.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1584,6 +1584,8 @@ export function setTextureFromArray(gl: WebGLRenderingContext, tex: WebGLTexture
15841584
/**
15851585
* Creates a texture based on the options passed in.
15861586
*
1587+
* See {@link TextureOptions}
1588+
*
15871589
* Note: may reset UNPACK_ALIGNMENT, UNPACK_ROW_LENGTH, UNPACK_IMAGE_HEIGHT, UNPACK_SKIP_IMAGES
15881590
* UNPACK_SKIP_PIXELS, and UNPACK_SKIP_ROWS
15891591
*
@@ -3017,6 +3019,8 @@ export function setEmptyTexture(gl: WebGLRenderingContext, tex: WebGLTexture, op
30173019
/**
30183020
* Creates a texture based on the options passed in.
30193021
*
3022+
* See {@link TextureOptions}
3023+
*
30203024
* Note: may reset UNPACK_ALIGNMENT, UNPACK_ROW_LENGTH, UNPACK_IMAGE_HEIGHT, UNPACK_SKIP_IMAGES
30213025
* UNPACK_SKIP_PIXELS, and UNPACK_SKIP_ROWS
30223026
*

dist/6.x/twgl.js

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/6.x/twgl.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/6.x/twgl.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/6.x/twgl.module.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* @license twgl.js 6.1.0 Copyright (c) 2015, Gregg Tavares All Rights Reserved.
1+
/* @license twgl.js 6.1.1 Copyright (c) 2015, Gregg Tavares All Rights Reserved.
22
Available via the MIT license.
33
see: http://github.com/greggman/twgl.js for details */
44
/*
@@ -2698,6 +2698,8 @@ function setEmptyTexture(gl, tex, options) {
26982698
/**
26992699
* Creates a texture based on the options passed in.
27002700
*
2701+
* See {@link module:twgl.TextureOptions}
2702+
*
27012703
* Note: may reset UNPACK_ALIGNMENT, UNPACK_ROW_LENGTH, UNPACK_IMAGE_HEIGHT, UNPACK_SKIP_IMAGES
27022704
* UNPACK_SKIP_PIXELS, and UNPACK_SKIP_ROWS
27032705
*
@@ -3745,7 +3747,7 @@ function getShaderTypeFromScriptType(gl, scriptType) {
37453747
function deleteProgramAndShaders(gl, program, notThese) {
37463748
const shaders = gl.getAttachedShaders(program);
37473749
for (const shader of shaders) {
3748-
if (notThese.has(shader)) {
3750+
if (!notThese.has(shader)) {
37493751
gl.deleteShader(shader);
37503752
}
37513753
}
@@ -3774,8 +3776,8 @@ function createProgramNoCheck(gl, shaders, programOptions) {
37743776
shader = gl.createShader(type);
37753777
gl.shaderSource(shader, prepShaderSource(src).shaderSource);
37763778
gl.compileShader(shader);
3777-
gl.attachShader(program, shader);
37783779
}
3780+
gl.attachShader(program, shader);
37793781
}
37803782

37813783
Object.entries(attribLocations).forEach(([attrib, loc]) => gl.bindAttribLocation(program, loc, attrib));

0 commit comments

Comments
 (0)