diff webGL/src/mainfunc.js @ 6:8c25fd3f9866 draft

7th,change a way of sounds play
author e105711 <yomitan.ie.u-ryukyu.ac.jp>
date Sat, 05 May 2012 01:49:16 +0900
parents a730b51d59eb
children c5455ae6cd70
line wrap: on
line diff
--- a/webGL/src/mainfunc.js	Fri May 04 05:22:57 2012 +0900
+++ b/webGL/src/mainfunc.js	Sat May 05 01:49:16 2012 +0900
@@ -26,7 +26,7 @@
 
 function titleRender(ctx){
     reshape(ctx);
-    ctx.clearColor(0,0,0.15,1);
+    ctx.clearColor(0,0,0,1);
     ctx.clear(ctx.COLOR_BUFFER_BIT | ctx.DEPTH_BUFFER_BIT);
     PutSpriteF(ctx,100,30,1,imgs[0]);
     PutSpriteF(ctx,100,90,1,imgs[1]);
@@ -36,7 +36,7 @@
 
 function mainRender(ctx){
     reshape(ctx);
-    ctx.clearColor(0,0,0.15,1);
+    ctx.clearColor(0,0,0,1);
     ctx.clear(ctx.COLOR_BUFFER_BIT | ctx.DEPTH_BUFFER_BIT);
     PutSpriteF(ctx,100,7.8125,1,imgs[2]);
     PutSpriteF(ctx,100,105,1,imgs[3]);  //y == 480
@@ -47,7 +47,7 @@
 
 function playRender(ctx){
     reshape(ctx);
-    ctx.clearColor(0,0,0.15,1);
+    ctx.clearColor(0,0,0,1);
     ctx.clear(ctx.COLOR_BUFFER_BIT | ctx.DEPTH_BUFFER_BIT);
     PutSpriteF(ctx,100,7.8125,1,imgs[2]);
     PutSpriteF(ctx,100,105,1,imgs[3]);  //y == 480