diff options
author | chai <chaifix@163.com> | 2019-12-15 00:39:18 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-12-15 00:39:18 +0800 |
commit | 749bbc6a54e50c297ab49d9e515a3679651d1461 (patch) | |
tree | 097bbe044332e816aa481db1a4e325b8d3f63b0d /src/main.c | |
parent | 3f44877edfe4c301b258d522bcb4e8d9b6e92382 (diff) |
*misc
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -8,8 +8,13 @@ SDL_Surface* suf; -#define SCREEN_WIDTH 600/*800*/ -#define SCREEN_HEIGHT 480/*600*/ +#define SCREEN_WIDTH 600 +#define SCREEN_HEIGHT 480 + +// +//#define SCREEN_WIDTH 800 +//#define SCREEN_HEIGHT 600 +// typedef void(*F)(void*); F onload; @@ -82,7 +87,7 @@ int main(int argc, char* argv[]) ssr_present(); SDL_UpdateWindowSurface(wnd); - Sleep(1); /*reduce cpu usage*/ + /*Sleep(1);*/ /*reduce cpu using*/ } quit: |