| 1067 | } |
| 1068 | |
| 1069 | nvrhi::IFramebuffer* donut::app::DeviceManager::GetFramebuffer(uint32_t index, bool withDepth) |
| 1070 | { |
| 1071 | if (withDepth) |
| 1072 | { |
| 1073 | if (index < m_SwapChainWithDepthFramebuffers.size()) |
| 1074 | return m_SwapChainWithDepthFramebuffers[index]; |
| 1075 | } |
| 1076 | else |
| 1077 | { |
| 1078 | if (index < m_SwapChainFramebuffers.size()) |
| 1079 | return m_SwapChainFramebuffers[index]; |
| 1080 | } |
| 1081 | |
| 1082 | return nullptr; |
| 1083 | } |
| 1084 | |
| 1085 | void DeviceManager::SetWindowTitle(const char* title) |
| 1086 | { |
no test coverage detected