diff options
author | Stephen Hines <srhines@google.com> | 2010-10-08 15:55:11 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2010-10-08 15:55:11 -0700 |
commit | 8fc891f051b2a500df78e450a896e3d84ff7ef7e (patch) | |
tree | 46cf5ad5aeee4370ccd91703cd25bbbd4f90eb2c /src | |
parent | 471006d796e3705e61dbaf8f5a1973ef8840dd82 (diff) | |
download | android_packages_wallpapers_MagicSmoke-8fc891f051b2a500df78e450a896e3d84ff7ef7e.tar.gz android_packages_wallpapers_MagicSmoke-8fc891f051b2a500df78e450a896e3d84ff7ef7e.tar.bz2 android_packages_wallpapers_MagicSmoke-8fc891f051b2a500df78e450a896e3d84ff7ef7e.zip |
Remove now unnecessary pragma rs export_var().
Change-Id: I4348e7f14485c7f5117faa8a566b07ee84f0e724
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/magicsmoke/clouds.rs | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/com/android/magicsmoke/clouds.rs b/src/com/android/magicsmoke/clouds.rs index 9383efb..9cd28cc 100644 --- a/src/com/android/magicsmoke/clouds.rs +++ b/src/com/android/magicsmoke/clouds.rs @@ -67,17 +67,16 @@ int *gNoisedst3; int *gNoisedst4; int *gNoisedst5; -#pragma rs export_var(gXOffset, gTilt, gPreset, gTextureMask, gRotate, gTextureSwap, gProcessTextureMode, gBackCol, gLowCol, gHighCol, gAlphaMul, gPreMul, gBlendFunc, gPVBackground, gPFBackground, gPFSBackgroundOne, gPFSBackgroundSrc, gTnoise1, gTnoise2, gTnoise3, gTnoise4, gTnoise5, gNoisesrc1, gNoisesrc2, gNoisesrc3, gNoisesrc4, gNoisesrc5, gNoisedst1, gNoisedst2, gNoisedst3, gNoisedst4, gNoisedst5) #pragma rs_export_func() // Local script variables -float xshift[5]; -float rotation[5]; -float scale[5]; -float alphafactor; -int currentpreset; -int lastuptime; -float timedelta; +static float xshift[5]; +static float rotation[5]; +static float scale[5]; +static float alphafactor; +static int currentpreset; +static int lastuptime; +static float timedelta; static float4 clearColor = {0.5f, 0.0f, 0.0f, 1.0f}; void drawCloud(rs_matrix4x4 *ident, rs_allocation allocat, int idx) { |