fix type-oh

This commit is contained in:
rdb 2012-03-12 18:57:46 +00:00
parent 947faa7e68
commit 252b7bc656
1 changed files with 1 additions and 1 deletions

View File

@ -1267,7 +1267,7 @@ synthesize_shader(const RenderState *rs) {
for (int i=0; i<_num_textures; i++) {
TextureStage *stage = texture->get_on_stage(i);
switch (stage->get_mode()) {
case TextureStage::M_modulate:
case TextureStage::M_modulate: {
int num_components = texture->get_on_texture(texture->get_on_stage(i))->get_num_components();
if (num_components == 1) {