Skip to content

Commit f78c89f

Browse files
authored
WebGLBackend: Fix logs. (#31978)
1 parent 0dfaecd commit f78c89f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/renderers/webgl-fallback/WebGLBackend.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,7 @@ class WebGLBackend extends Backend {
10801080

10811081
} else if ( ! this.hasFeature( 'WEBGL_multi_draw' ) ) {
10821082

1083-
warnOnce( 'WebGLRenderer: WEBGL_multi_draw not supported.' );
1083+
warnOnce( 'WebGLBackend: WEBGL_multi_draw not supported.' );
10841084

10851085
} else {
10861086

src/renderers/webgl-fallback/utils/WebGLTextureUtils.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ class WebGLTextureUtils {
170170

171171
if ( gl[ internalFormatName ] !== undefined ) return gl[ internalFormatName ];
172172

173-
warn( 'WebGLRenderer: Attempt to use non-existing WebGL internal format \'' + internalFormatName + '\'' );
173+
warn( 'WebGLBackend: Attempt to use non-existing WebGL internal format \'' + internalFormatName + '\'' );
174174

175175
}
176176

@@ -541,7 +541,7 @@ class WebGLTextureUtils {
541541

542542
} else {
543543

544-
warn( 'WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()' );
544+
warn( 'WebGLBackend: Attempt to load unsupported compressed texture format in .uploadTexture()' );
545545

546546
}
547547

@@ -559,7 +559,7 @@ class WebGLTextureUtils {
559559

560560
} else {
561561

562-
warn( 'Unsupported compressed texture format' );
562+
warn( 'WebGLBackend: Unsupported compressed texture format' );
563563

564564
}
565565

0 commit comments

Comments
 (0)