mirror of
https://github.com/bjornbytes/lovr.git
synced 2024-07-05 13:53:38 +00:00
Fix OpenXR usage of setBackground;
This commit is contained in:
parent
5799b0effb
commit
6fa8b570da
|
@ -1821,7 +1821,7 @@ static Pass* openxr_getPass(void) {
|
||||||
uint8_t stencil;
|
uint8_t stencil;
|
||||||
float color[4][4], depth;
|
float color[4][4], depth;
|
||||||
lovrPassGetClear(state.pass, color, &depth, &stencil);
|
lovrPassGetClear(state.pass, color, &depth, &stencil);
|
||||||
lovrGraphicsGetBackground(color[0]);
|
lovrGraphicsGetBackgroundColor(color[0]);
|
||||||
lovrPassSetClear(state.pass, color, depth, stencil);
|
lovrPassSetClear(state.pass, color, depth, stencil);
|
||||||
lovrPassSetTarget(state.pass, &texture, depthTexture);
|
lovrPassSetTarget(state.pass, &texture, depthTexture);
|
||||||
lovrPassReset(state.pass);
|
lovrPassReset(state.pass);
|
||||||
|
|
Loading…
Reference in a new issue