|
@@ -261,7 +261,7 @@ class PMREMGenerator {
|
|
|
|
|
|
const cubeUVRenderTarget = _createRenderTarget( width, height, params );
|
|
|
|
|
|
- if ( this._pingPongRenderTarget === null || this._pingPongRenderTarget.width !== width ) {
|
|
|
+ if ( this._pingPongRenderTarget === null || this._pingPongRenderTarget.width !== width || this._pingPongRenderTarget.height !== height ) {
|
|
|
|
|
|
if ( this._pingPongRenderTarget !== null ) {
|
|
|
|