mirror of https://github.com/bjornbytes/lovr.git
Fix background color space;
This commit is contained in:
parent
2a3215fa05
commit
73f61b35b3
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue