Skip to content

Commit

Permalink
[XR] assign the number of textures correctly (#12340)
Browse files Browse the repository at this point in the history
  • Loading branch information
RaananW authored Apr 5, 2022
1 parent cb63738 commit d5722c3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export class MultiviewRenderTarget extends RenderTargetTexture {
this._texture.isMultiview = true;
this._texture.format = Constants.TEXTUREFORMAT_RGBA;
this.samples = this._getEngine()!.getCaps().maxSamples || this.samples;
this._texture.samples = this._samples;
}

/**
Expand Down

0 comments on commit d5722c3

Please sign in to comment.