diff options
author | chai <chaifix@163.com> | 2019-12-05 09:21:26 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-12-05 09:21:26 +0800 |
commit | 8e684dc0c76708e3174f005aebcaabc144b85500 (patch) | |
tree | d7803e49ee1fdb5575128114d19499787f870c00 /src/main.c | |
parent | 2e82e2ddd0852b8063a3d6645366f53ee844e273 (diff) |
*背面剔除
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ SETEXAMPLEF(onupdate, i) int main(int argc, char* argv[]) { - if (SDL_Init(SDL_INIT_VIDEO) < 0) + if (SDL_Init(SDL_INIT_EVERYTHING) < 0) return 1; SDL_Window* wnd = SDL_CreateWindow("Test", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, SCREEN_WIDTH, SCREEN_HEIGHT, SDL_WINDOW_SHOWN); SDL_Event e; |