| 75 | skr_vfs_t* resource_vfs; |
| 76 | |
| 77 | int CreateMainWindow() |
| 78 | { |
| 79 | #if SKR_PLAT_WINDOWS |
| 80 | ::SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE); |
| 81 | #endif |
| 82 | if (SDL_Init(SDL_INIT_EVERYTHING) != 0) return -1; |
| 83 | auto window_desc = make_zeroed<SWindowDescroptor>(); |
| 84 | window_desc.flags = SKR_WINDOW_CENTERED | SKR_WINDOW_RESIZABLE; |
| 85 | window_desc.height = BACK_BUFFER_HEIGHT; |
| 86 | window_desc.width = BACK_BUFFER_WIDTH; |
| 87 | mainWindow = skr_create_window("AAA", &window_desc); |
| 88 | return 0; |
| 89 | } |
| 90 | |
| 91 | int CreateRenderer(SWindowHandle window) |
| 92 | { |
no test coverage detected