diff options
| author | Mike Cleron <mcleron@google.com> | 2009-11-10 13:31:30 -0800 |
|---|---|---|
| committer | Mike Cleron <mcleron@google.com> | 2009-11-10 13:31:30 -0800 |
| commit | fc6bdef0134306ac062c0ff09fd0c61de34bb612 (patch) | |
| tree | 004baf47b8904d8af8a683ee3b77efbba1a55d6c /res | |
| parent | 701a47f2da564641e21b0d81dafbb96d973e6248 (diff) | |
| download | android_packages_wallpapers_Basic-fc6bdef0134306ac062c0ff09fd0c61de34bb612.tar.gz android_packages_wallpapers_Basic-fc6bdef0134306ac062c0ff09fd0c61de34bb612.tar.bz2 android_packages_wallpapers_Basic-fc6bdef0134306ac062c0ff09fd0c61de34bb612.zip | |
Don't load sky texture
Diffstat (limited to 'res')
| -rw-r--r-- | res/raw/fall.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/res/raw/fall.rs b/res/raw/fall.rs index 450d60a..786ace3 100644 --- a/res/raw/fall.rs +++ b/res/raw/fall.rs @@ -202,7 +202,7 @@ void drawLeaf(struct Leaves_s *leaf) { float matrix[16]; if (a > 0.0f) { - float alpha = 1.0f; + float alpha = 1.0f; if (a >= 0.4f) alpha = 1.0f - (a - 0.4f) / 0.1f; color(0.0f, 0.0f, 0.0f, alpha * 0.15f); @@ -319,6 +319,7 @@ void drawRiverbed() { vpLoadTextureMatrix(matrix); } +/* void drawSky() { color(1.0f, 1.0f, 1.0f, 0.5f); @@ -345,6 +346,7 @@ void drawSky() { matrixLoadIdentity(matrix); vpLoadTextureMatrix(matrix); } +*/ int main(int index) { if (Drop->dropX != -1) { |
