|
|
@@ -983,9 +983,9 @@ function WebGLState( gl, extensions ) {
|
|
|
|
|
|
gl.compressedTexImage2D( ...arguments );
|
|
|
|
|
|
- } catch ( error ) {
|
|
|
+ } catch ( e ) {
|
|
|
|
|
|
- error( 'WebGLState:', error );
|
|
|
+ error( 'WebGLState:', e );
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -997,9 +997,9 @@ function WebGLState( gl, extensions ) {
|
|
|
|
|
|
gl.compressedTexImage3D( ...arguments );
|
|
|
|
|
|
- } catch ( error ) {
|
|
|
+ } catch ( e ) {
|
|
|
|
|
|
- error( 'WebGLState:', error );
|
|
|
+ error( 'WebGLState:', e );
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -1011,9 +1011,9 @@ function WebGLState( gl, extensions ) {
|
|
|
|
|
|
gl.texSubImage2D( ...arguments );
|
|
|
|
|
|
- } catch ( error ) {
|
|
|
+ } catch ( e ) {
|
|
|
|
|
|
- error( 'WebGLState:', error );
|
|
|
+ error( 'WebGLState:', e );
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -1025,9 +1025,9 @@ function WebGLState( gl, extensions ) {
|
|
|
|
|
|
gl.texSubImage3D( ...arguments );
|
|
|
|
|
|
- } catch ( error ) {
|
|
|
+ } catch ( e ) {
|
|
|
|
|
|
- error( 'WebGLState:', error );
|
|
|
+ error( 'WebGLState:', e );
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -1039,9 +1039,9 @@ function WebGLState( gl, extensions ) {
|
|
|
|
|
|
gl.compressedTexSubImage2D( ...arguments );
|
|
|
|
|
|
- } catch ( error ) {
|
|
|
+ } catch ( e ) {
|
|
|
|
|
|
- error( 'WebGLState:', error );
|
|
|
+ error( 'WebGLState:', e );
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -1053,9 +1053,9 @@ function WebGLState( gl, extensions ) {
|
|
|
|
|
|
gl.compressedTexSubImage3D( ...arguments );
|
|
|
|
|
|
- } catch ( error ) {
|
|
|
+ } catch ( e ) {
|
|
|
|
|
|
- error( 'WebGLState:', error );
|
|
|
+ error( 'WebGLState:', e );
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -1067,9 +1067,9 @@ function WebGLState( gl, extensions ) {
|
|
|
|
|
|
gl.texStorage2D( ...arguments );
|
|
|
|
|
|
- } catch ( error ) {
|
|
|
+ } catch ( e ) {
|
|
|
|
|
|
- error( 'WebGLState:', error );
|
|
|
+ error( 'WebGLState:', e );
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -1081,9 +1081,9 @@ function WebGLState( gl, extensions ) {
|
|
|
|
|
|
gl.texStorage3D( ...arguments );
|
|
|
|
|
|
- } catch ( error ) {
|
|
|
+ } catch ( e ) {
|
|
|
|
|
|
- error( 'WebGLState:', error );
|
|
|
+ error( 'WebGLState:', e );
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -1095,9 +1095,9 @@ function WebGLState( gl, extensions ) {
|
|
|
|
|
|
gl.texImage2D( ...arguments );
|
|
|
|
|
|
- } catch ( error ) {
|
|
|
+ } catch ( e ) {
|
|
|
|
|
|
- error( 'WebGLState:', error );
|
|
|
+ error( 'WebGLState:', e );
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -1109,9 +1109,9 @@ function WebGLState( gl, extensions ) {
|
|
|
|
|
|
gl.texImage3D( ...arguments );
|
|
|
|
|
|
- } catch ( error ) {
|
|
|
+ } catch ( e ) {
|
|
|
|
|
|
- error( 'WebGLState:', error );
|
|
|
+ error( 'WebGLState:', e );
|
|
|
|
|
|
}
|
|
|
|