summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-07-18 02:48:39 +0800
committerchai <chaifix@163.com>2020-07-18 02:48:39 +0800
commite5e995103377f9bb79123ef8257d8680ed0945fc (patch)
tree1831f3d2242c8173075576816b9032001580d20b /src/main.c
parent275bf123ff505eef3333ba41385ed3814eb9a507 (diff)
*late culling
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 850951b..2b6e853 100644
--- a/src/main.c
+++ b/src/main.c
@@ -31,10 +31,14 @@ static char* instruction =
" key-g show\\hide grid \n"
" key-b bake scene and save to png file(require -b option)\n"
"Usage: \n"
-" SoftShadeRoom <options> <example> \n"
-"Options: \n"
-" -b <image> set baking target image\n"
+" SoftShadeRoom <example> \n"
"Examples: \n"
+" dot \n"
+" cube \n"
+" texture \n"
+" bloom \n"
+" fog \n"
+" shadow \n"
" \n";
typedef void(*Callback)(void*);
@@ -144,7 +148,7 @@ int main(int argc, char* argv[]) {
ssr_present();
wog_updateSurface(wnd);
- //Sleep(1); /*reduce cpu using*/
+ Sleep(1); /*reduce cpu using*/
}
quit: