| 550 | } |
| 551 | |
| 552 | int main(int argc, char* argv[]) |
| 553 | { |
| 554 | if (SDL_Init(SDL_INIT_EVERYTHING) != 0) return -1; |
| 555 | // When we support more add them here |
| 556 | #ifdef CGPU_USE_D3D12 |
| 557 | ECGPUBackend backend = CGPU_BACKEND_D3D12; |
| 558 | #else |
| 559 | ECGPUBackend backend = CGPU_BACKEND_VULKAN; |
| 560 | #endif |
| 561 | ProgramMain(&backend); |
| 562 | SDL_Quit(); |
| 563 | |
| 564 | return 0; |
| 565 | } |
nothing calls this directly
no test coverage detected