From 252b7bc656b0af74af56bfdc223734cb013e2442 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 12 Mar 2012 18:57:46 +0000 Subject: [PATCH] fix type-oh --- panda/src/pgraphnodes/shaderGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/pgraphnodes/shaderGenerator.cxx b/panda/src/pgraphnodes/shaderGenerator.cxx index f1d2a1dd29..a11f1648cd 100644 --- a/panda/src/pgraphnodes/shaderGenerator.cxx +++ b/panda/src/pgraphnodes/shaderGenerator.cxx @@ -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) {