Revision a81e5cf7
Added by Leszek Koltunski over 4 years ago
src/main/java/org/distorted/library/effectqueue/EffectQueueFragment.java | ||
---|---|---|
88 | 88 |
|
89 | 89 |
if( mNumEffects>0 ) |
90 | 90 |
{ |
91 |
/* |
|
92 |
for(int i=0; i<mNumEffects; i++) |
|
93 |
{ |
|
94 |
String f = |
|
95 |
mFloatUniforms[12*i]+" "+ |
|
96 |
mFloatUniforms[12*i+1]+" "+ |
|
97 |
mFloatUniforms[12*i+2]+" "+ |
|
98 |
mFloatUniforms[12*i+3]+" "+ |
|
99 |
mFloatUniforms[12*i+4]+" "+ |
|
100 |
mFloatUniforms[12*i+5]+" "+ |
|
101 |
mFloatUniforms[12*i+6]+" "+ |
|
102 |
mFloatUniforms[12*i+7]+" "+ |
|
103 |
mFloatUniforms[12*i+8]+" "+ |
|
104 |
mFloatUniforms[12*i+9]+" "+ |
|
105 |
mFloatUniforms[12*i+10]+" "+ |
|
106 |
mFloatUniforms[12*i+11]; |
|
107 |
|
|
108 |
android.util.Log.e("frag", i+" name: "+mIntUniforms[i]+" float: "+f); |
|
109 |
} |
|
110 |
*/ |
|
111 | 91 |
GLES30.glUniform1iv( mNameH[variant] , mNumEffects, mIntUniforms , 0); |
112 | 92 |
GLES30.glUniform4fv( mUniformsH[variant],(NUM_FLOAT_UNIFORMS/4)*mNumEffects, mFloatUniforms, 0); |
113 | 93 |
} |
Also available in: Unified diff
Bugfix.