@@ -980,7 +980,7 @@ function WebGLState( gl, extensions ) {
980
980
981
981
try {
982
982
983
- gl . compressedTexImage2D . apply ( gl , arguments ) ;
983
+ gl . compressedTexImage2D ( ... arguments ) ;
984
984
985
985
} catch ( error ) {
986
986
@@ -994,7 +994,7 @@ function WebGLState( gl, extensions ) {
994
994
995
995
try {
996
996
997
- gl . compressedTexImage3D . apply ( gl , arguments ) ;
997
+ gl . compressedTexImage3D ( ... arguments ) ;
998
998
999
999
} catch ( error ) {
1000
1000
@@ -1008,7 +1008,7 @@ function WebGLState( gl, extensions ) {
1008
1008
1009
1009
try {
1010
1010
1011
- gl . texSubImage2D . apply ( gl , arguments ) ;
1011
+ gl . texSubImage2D ( ... arguments ) ;
1012
1012
1013
1013
} catch ( error ) {
1014
1014
@@ -1022,7 +1022,7 @@ function WebGLState( gl, extensions ) {
1022
1022
1023
1023
try {
1024
1024
1025
- gl . texSubImage3D . apply ( gl , arguments ) ;
1025
+ gl . texSubImage3D ( ... arguments ) ;
1026
1026
1027
1027
} catch ( error ) {
1028
1028
@@ -1036,7 +1036,7 @@ function WebGLState( gl, extensions ) {
1036
1036
1037
1037
try {
1038
1038
1039
- gl . compressedTexSubImage2D . apply ( gl , arguments ) ;
1039
+ gl . compressedTexSubImage2D ( ... arguments ) ;
1040
1040
1041
1041
} catch ( error ) {
1042
1042
@@ -1050,7 +1050,7 @@ function WebGLState( gl, extensions ) {
1050
1050
1051
1051
try {
1052
1052
1053
- gl . compressedTexSubImage3D . apply ( gl , arguments ) ;
1053
+ gl . compressedTexSubImage3D ( ... arguments ) ;
1054
1054
1055
1055
} catch ( error ) {
1056
1056
@@ -1064,7 +1064,7 @@ function WebGLState( gl, extensions ) {
1064
1064
1065
1065
try {
1066
1066
1067
- gl . texStorage2D . apply ( gl , arguments ) ;
1067
+ gl . texStorage2D ( ... arguments ) ;
1068
1068
1069
1069
} catch ( error ) {
1070
1070
@@ -1078,7 +1078,7 @@ function WebGLState( gl, extensions ) {
1078
1078
1079
1079
try {
1080
1080
1081
- gl . texStorage3D . apply ( gl , arguments ) ;
1081
+ gl . texStorage3D ( ... arguments ) ;
1082
1082
1083
1083
} catch ( error ) {
1084
1084
@@ -1092,7 +1092,7 @@ function WebGLState( gl, extensions ) {
1092
1092
1093
1093
try {
1094
1094
1095
- gl . texImage2D . apply ( gl , arguments ) ;
1095
+ gl . texImage2D ( ... arguments ) ;
1096
1096
1097
1097
} catch ( error ) {
1098
1098
@@ -1106,7 +1106,7 @@ function WebGLState( gl, extensions ) {
1106
1106
1107
1107
try {
1108
1108
1109
- gl . texImage3D . apply ( gl , arguments ) ;
1109
+ gl . texImage3D ( ... arguments ) ;
1110
1110
1111
1111
} catch ( error ) {
1112
1112
0 commit comments