docs: 修复 containers 和 rhi 模块的头文件路径
- containers: 修正 Containers.h, Array.h, String.h, HashMap.h 的路径为 Core/Containers/ - rhi: 修正 D3D12 和 OpenGL 后端文档路径
This commit is contained in:
@@ -105,9 +105,9 @@ RHICommandList* cmdList = device->CreateCommandList(cmdListDesc);
|
||||
RHICommandQueue* cmdQueue = device->CreateCommandQueue(queueDesc);
|
||||
|
||||
// 5. 渲染循环
|
||||
while (!swapChain->ShouldClose()) {
|
||||
while (true) {
|
||||
cmdQueue->ExecuteCommandLists(1, (void**)&cmdList);
|
||||
swapChain->Present();
|
||||
swapChain->Present(1, 0);
|
||||
}
|
||||
|
||||
// 6. 清理
|
||||
|
||||
Reference in New Issue
Block a user