1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-03 04:53:35 +00:00

Fix background color space;

This commit is contained in:
bjorn 2022-08-05 22:14:09 -07:00
parent 2a3215fa05
commit 73f61b35b3

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 // 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. // 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) { if (canvas->mipmap) {