[Mesa-dev] [PATCH 3/3] mesa: add missing break in switch statement

Martin Peres martin.peres at linux.intel.com
Tue Apr 21 00:47:51 PDT 2015


On 21/04/15 08:27, Tapani Pälli wrote:
> Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
> ---
>   src/mesa/main/shader_query.cpp | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/main/shader_query.cpp b/src/mesa/main/shader_query.cpp
> index 1428058..336598d 100644
> --- a/src/mesa/main/shader_query.cpp
> +++ b/src/mesa/main/shader_query.cpp
> @@ -634,7 +634,7 @@ _mesa_program_resource_find_index(struct gl_shader_program *shProg,
>         case GL_ATOMIC_COUNTER_BUFFER:
>            if (_mesa_program_resource_index(shProg, res) == index)
>               return res;
> -
> +         break;
>         case GL_TRANSFORM_FEEDBACK_VARYING:
>         case GL_PROGRAM_INPUT:
>         case GL_PROGRAM_OUTPUT:

Reviewed-By: Martin Peres <martin.peres at linux.intel.com>


More information about the mesa-dev mailing list