Fix OpenXR usage of setBackground;

This commit is contained in:
bjorn 2022-08-13 21:21:17 -07:00
parent 5799b0effb
commit 6fa8b570da
1 changed files with 1 additions and 1 deletions

View File

@ -1821,7 +1821,7 @@ static Pass* openxr_getPass(void) {
uint8_t stencil;
float color[4][4], depth;
lovrPassGetClear(state.pass, color, &depth, &stencil);
lovrGraphicsGetBackground(color[0]);
lovrGraphicsGetBackgroundColor(color[0]);
lovrPassSetClear(state.pass, color, depth, stencil);
lovrPassSetTarget(state.pass, &texture, depthTexture);
lovrPassReset(state.pass);