summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-12-15 00:39:18 +0800
committerchai <chaifix@163.com>2019-12-15 00:39:18 +0800
commit749bbc6a54e50c297ab49d9e515a3679651d1461 (patch)
tree097bbe044332e816aa481db1a4e325b8d3f63b0d /src/main.c
parent3f44877edfe4c301b258d522bcb4e8d9b6e92382 (diff)
*misc
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 176c2e6..a6f3bbc 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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: