fix clear color conversion

main
cosmonaut 2022-02-24 22:06:29 -08:00
parent a88d8dabbb
commit e5213da686
1 changed files with 4 additions and 4 deletions

View File

@ -114,10 +114,10 @@ namespace MoonWorks.Graphics
renderTarget = renderTarget.Handle,
clearColor = new Refresh.Vec4
{
x = clearColor.R,
y = clearColor.G,
z = clearColor.B,
w = clearColor.A
x = clearColor.R / 255f,
y = clearColor.G / 255f,
z = clearColor.B / 255f,
w = clearColor.A / 255f
},
loadOp = (Refresh.LoadOp) loadOp,
storeOp = (Refresh.StoreOp) storeOp