We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29801c2 commit 002f9baCopy full SHA for 002f9ba
docs/1-introduction/1-1-getting-started/1-1-3-hello-triangle.md
@@ -414,6 +414,7 @@ D3D11_BUFFER_DESC bufferInfo = {};
414
bufferInfo.ByteWidth = sizeof(vertices);
415
bufferInfo.Usage = D3D11_USAGE::D3D11_USAGE_IMMUTABLE;
416
bufferInfo.BindFlags = D3D11_BIND_FLAG::D3D11_BIND_VERTEX_BUFFER;
417
+
418
D3D11_SUBRESOURCE_DATA resourceData = {};
419
resourceData.pSysMem = vertices;
420
if (FAILED(_device->CreateBuffer(
0 commit comments