Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter4からSetGraphicsRootSignatureの二重呼び出し #17

Open
vodbyte opened this issue Mar 16, 2020 · 1 comment
Open

Chapter4からSetGraphicsRootSignatureの二重呼び出し #17

vodbyte opened this issue Mar 16, 2020 · 1 comment

Comments

@vodbyte
Copy link

vodbyte commented Mar 16, 2020

554		_cmdList->SetGraphicsRootSignature(rootsignature);
555
556		_cmdList->IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST);
557		_cmdList->IASetVertexBuffers(0, 1, &vbView);
558		_cmdList->IASetIndexBuffer(&ibView);
559
560		_cmdList->SetGraphicsRootSignature(rootsignature);

ご拝見したところ、
main.cppファイルで554行目と560行目は二回SetGraphicsRootSignatureを呼び出しましたが、
こちらは意図的なものでしょうか。

@boxerprogrammer
Copy link
Owner

意図的ではありません。コードの残骸かと思われます。修正します。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants