| 1804 | } |
| 1805 | |
| 1806 | const HGraphicsAdapter GetRegisteredAdapter(uint32_t index) |
| 1807 | { |
| 1808 | uint32_t adapter_count = 0; |
| 1809 | GraphicsAdapter* next = g_adapter_list; |
| 1810 | while(next) |
| 1811 | { |
| 1812 | if (adapter_count == index) |
| 1813 | return next; |
| 1814 | adapter_count++; |
| 1815 | next = next->m_Next; |
| 1816 | } |
| 1817 | return 0; |
| 1818 | } |
| 1819 | |
| 1820 | void Finalize() |
| 1821 | { |
no outgoing calls
no test coverage detected