| 454 | } |
| 455 | |
| 456 | int main(int argc, char* argv[]) |
| 457 | { |
| 458 | if (SDL_Init(SDL_INIT_EVERYTHING) != 0) return -1; |
| 459 | // When we support more add them here |
| 460 | #ifdef CGPU_USE_D3D12 |
| 461 | ECGPUBackend backend = CGPU_BACKEND_D3D12; |
| 462 | #else |
| 463 | ECGPUBackend backend = CGPU_BACKEND_VULKAN; |
| 464 | #endif |
| 465 | ProgramMain(&backend); |
| 466 | SDL_Quit(); |
| 467 | |
| 468 | return 0; |
| 469 | } |
nothing calls this directly
no test coverage detected