mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-14 12:29:30 -07:00
Replacing the deprecated loadValue property in the render pass config descriptors' color attachments
This commit is contained in:
@@ -11,8 +11,8 @@ export default ({ device, canvasFormat, canvasContext }) => {
|
||||
const renderPassConfig = {
|
||||
colorAttachments: [
|
||||
{
|
||||
view: null,
|
||||
loadValue: { r: 0, g: 0, b: 0, a: 1 },
|
||||
// view: null,
|
||||
loadOp: "clear",
|
||||
storeOp: "store",
|
||||
},
|
||||
],
|
||||
|
||||
@@ -72,13 +72,13 @@ export default ({ config, device, timeBuffer }) => {
|
||||
const renderPassConfig = {
|
||||
colorAttachments: [
|
||||
{
|
||||
view: null,
|
||||
loadValue: { r: 0, g: 0, b: 0, a: 1 },
|
||||
// view: null,
|
||||
loadOp: "clear",
|
||||
storeOp: "store",
|
||||
},
|
||||
{
|
||||
view: null,
|
||||
loadValue: { r: 0, g: 0, b: 0, a: 1 },
|
||||
// view: null,
|
||||
loadOp: "clear",
|
||||
storeOp: "store",
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user