mirror of https://github.com/bjornbytes/lovr.git
nogame: only set background color in VR;
This commit is contained in:
parent
3f5e3bb0ed
commit
b8a8aa2755
|
@ -12,7 +12,10 @@ function lovr.load()
|
|||
return
|
||||
end
|
||||
|
||||
lovr.graphics.setBackgroundColor(0x20232c)
|
||||
if lovr.headset.getPassthrough() == 'opaque' then
|
||||
lovr.graphics.setBackgroundColor(0x20232c)
|
||||
end
|
||||
|
||||
logo = lovr.graphics.newShader('unlit', 'logo')
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue