File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -557,7 +557,7 @@ class Backend {
557
557
558
558
renderer . getClearColor ( _color4 ) ;
559
559
560
- _color4 . getRGB ( _color4 , this . renderer . currentColorSpace ) ;
560
+ _color4 . getRGB ( _color4 ) ;
561
561
562
562
return _color4 ;
563
563
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import NodeMaterial from '../../materials/nodes/NodeMaterial.js';
5
5
6
6
import { Mesh } from '../../objects/Mesh.js' ;
7
7
import { SphereGeometry } from '../../geometries/SphereGeometry.js' ;
8
- import { BackSide , LinearSRGBColorSpace } from '../../constants.js' ;
8
+ import { BackSide } from '../../constants.js' ;
9
9
10
10
const _clearColor = /*@__PURE__ */ new Color4 ( ) ;
11
11
@@ -64,14 +64,14 @@ class Background extends DataMap {
64
64
65
65
// no background settings, use clear color configuration from the renderer
66
66
67
- renderer . _clearColor . getRGB ( _clearColor , LinearSRGBColorSpace ) ;
67
+ renderer . _clearColor . getRGB ( _clearColor ) ;
68
68
_clearColor . a = renderer . _clearColor . a ;
69
69
70
70
} else if ( background . isColor === true ) {
71
71
72
72
// background is an opaque color
73
73
74
- background . getRGB ( _clearColor , LinearSRGBColorSpace ) ;
74
+ background . getRGB ( _clearColor ) ;
75
75
_clearColor . a = 1 ;
76
76
77
77
forceClear = true ;
You can’t perform that action at this time.
0 commit comments