diff options
Diffstat (limited to 'o3d/command_buffer/service/cross/gl')
-rw-r--r-- | o3d/command_buffer/service/cross/gl/effect_gl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/o3d/command_buffer/service/cross/gl/effect_gl.cc b/o3d/command_buffer/service/cross/gl/effect_gl.cc index 4e9da56..c2c49e3 100644 --- a/o3d/command_buffer/service/cross/gl/effect_gl.cc +++ b/o3d/command_buffer/service/cross/gl/effect_gl.cc @@ -445,7 +445,7 @@ void EffectGL::AddLowLevelParams(CGprogram prog, CGenum name_space, bool vp) { int num_elements; if (cg_type == CG_ARRAY) { num_elements = cgGetArraySize(cg_param, 0); - // Substitute the first element's type for our type.
+ // Substitute the first element's type for our type. cg_type = cgGetParameterType(cgGetArrayParameter(cg_param, 0)); } else { num_elements = 0; |