| Index: core/cross/gl/param_cache_gl.cc
|
| ===================================================================
|
| --- core/cross/gl/param_cache_gl.cc (revision 21208)
|
| +++ core/cross/gl/param_cache_gl.cc (working copy)
|
| @@ -326,7 +326,6 @@
|
| for (int i = 0; i < size; ++i) {
|
| Param* untyped_element = param->GetUntypedParam(i);
|
| if (untyped_element->IsA(ParamSampler::GetApparentClass())) {
|
| - CGparameter cg_element = cgGetArrayParameter(cg_param, i);
|
| ParamSampler* element = down_cast<ParamSampler*>(untyped_element);
|
| SamplerGL* sampler_gl = down_cast<SamplerGL*>(element->value());
|
| if (!sampler_gl) {
|
| @@ -458,6 +457,8 @@
|
| handler = EffectParamHandlerGL::Ref(
|
| new EffectParamArraySamplerHandlerGL(param_param_array));
|
| break;
|
| + default:
|
| + break;
|
| }
|
| } else if (param->IsA(ParamMatrix4::GetApparentClass())) {
|
| if (cg_type == CG_FLOAT4x4) {
|
|
|