There is this function that requires a **ID3D11Buffer
(where vertexBuffer.get()
currently is). I have the following code:
shared_ptr<ID3D11Buffer> vertexBuffer;
this->graphicContext->GetDevice()->CreateBuffer( &bd, &srd, vertexBuffer.get() );
argument of type "ID3D11Buffer *" is incompatible with parameter of type "ID3D11Buffer **"
How would i get a pointer to a pointer? vertexBuffer.get()
just returns a pointer