@@ -980,7 +980,7 @@ function WebGLState( gl, extensions ) {
980980
981981 try {
982982
983- gl . compressedTexImage2D . apply ( gl , arguments ) ;
983+ gl . compressedTexImage2D ( ... arguments ) ;
984984
985985 } catch ( error ) {
986986
@@ -994,7 +994,7 @@ function WebGLState( gl, extensions ) {
994994
995995 try {
996996
997- gl . compressedTexImage3D . apply ( gl , arguments ) ;
997+ gl . compressedTexImage3D ( ... arguments ) ;
998998
999999 } catch ( error ) {
10001000
@@ -1008,7 +1008,7 @@ function WebGLState( gl, extensions ) {
10081008
10091009 try {
10101010
1011- gl . texSubImage2D . apply ( gl , arguments ) ;
1011+ gl . texSubImage2D ( ... arguments ) ;
10121012
10131013 } catch ( error ) {
10141014
@@ -1022,7 +1022,7 @@ function WebGLState( gl, extensions ) {
10221022
10231023 try {
10241024
1025- gl . texSubImage3D . apply ( gl , arguments ) ;
1025+ gl . texSubImage3D ( ... arguments ) ;
10261026
10271027 } catch ( error ) {
10281028
@@ -1036,7 +1036,7 @@ function WebGLState( gl, extensions ) {
10361036
10371037 try {
10381038
1039- gl . compressedTexSubImage2D . apply ( gl , arguments ) ;
1039+ gl . compressedTexSubImage2D ( ... arguments ) ;
10401040
10411041 } catch ( error ) {
10421042
@@ -1050,7 +1050,7 @@ function WebGLState( gl, extensions ) {
10501050
10511051 try {
10521052
1053- gl . compressedTexSubImage3D . apply ( gl , arguments ) ;
1053+ gl . compressedTexSubImage3D ( ... arguments ) ;
10541054
10551055 } catch ( error ) {
10561056
@@ -1064,7 +1064,7 @@ function WebGLState( gl, extensions ) {
10641064
10651065 try {
10661066
1067- gl . texStorage2D . apply ( gl , arguments ) ;
1067+ gl . texStorage2D ( ... arguments ) ;
10681068
10691069 } catch ( error ) {
10701070
@@ -1078,7 +1078,7 @@ function WebGLState( gl, extensions ) {
10781078
10791079 try {
10801080
1081- gl . texStorage3D . apply ( gl , arguments ) ;
1081+ gl . texStorage3D ( ... arguments ) ;
10821082
10831083 } catch ( error ) {
10841084
@@ -1092,7 +1092,7 @@ function WebGLState( gl, extensions ) {
10921092
10931093 try {
10941094
1095- gl . texImage2D . apply ( gl , arguments ) ;
1095+ gl . texImage2D ( ... arguments ) ;
10961096
10971097 } catch ( error ) {
10981098
@@ -1106,7 +1106,7 @@ function WebGLState( gl, extensions ) {
11061106
11071107 try {
11081108
1109- gl . texImage3D . apply ( gl , arguments ) ;
1109+ gl . texImage3D ( ... arguments ) ;
11101110
11111111 } catch ( error ) {
11121112
0 commit comments