Fix background color space;

This commit is contained in:
bjorn 2022-08-05 22:14:09 -07:00
parent 2a3215fa05
commit 73f61b35b3
1 changed files with 1 additions and 1 deletions

View File

@ -3427,7 +3427,7 @@ void lovrPassReset(Pass* pass) {
// The window pass always uses the global clear color. The intent is that exposing a global
// clear color that applies to the window/headset is more friendly than messing with passes.
lovrGraphicsGetBackground(pass->target.color[0].clear);
memcpy(pass->target.color[0].clear, state.background, 4 * sizeof(float));
}
if (canvas->mipmap) {