mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-21 23:39:29 -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 = {
|
const renderPassConfig = {
|
||||||
colorAttachments: [
|
colorAttachments: [
|
||||||
{
|
{
|
||||||
view: null,
|
// view: null,
|
||||||
loadValue: { r: 0, g: 0, b: 0, a: 1 },
|
loadOp: "clear",
|
||||||
storeOp: "store",
|
storeOp: "store",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -72,13 +72,13 @@ export default ({ config, device, timeBuffer }) => {
|
|||||||
const renderPassConfig = {
|
const renderPassConfig = {
|
||||||
colorAttachments: [
|
colorAttachments: [
|
||||||
{
|
{
|
||||||
view: null,
|
// view: null,
|
||||||
loadValue: { r: 0, g: 0, b: 0, a: 1 },
|
loadOp: "clear",
|
||||||
storeOp: "store",
|
storeOp: "store",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
view: null,
|
// view: null,
|
||||||
loadValue: { r: 0, g: 0, b: 0, a: 1 },
|
loadOp: "clear",
|
||||||
storeOp: "store",
|
storeOp: "store",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user