On Tue, 20 Sep 2011 12:01:56 -0700, Chad Versace <[email protected]> wrote:
> The mismatch below caused ActiveProgram to be incorrectly saved/restored:
> 
>     _meas_meta_begin:
>         line 465) ActiveShader := gl_shader_state::CurrentFragmentProgram
>     _mesa_meta_end:
>         line 741) gl_shader_state::ActiveProgram := ActiveShader
> 
> This patch fixes it to be:
> 
>     _meas_meta_begin:
>         line 465) ActiveShader := gl_shader_state::ActiveProgram
>     _mesa_meta_end:
>         line 741) gl_shader_state::ActiveProgram := ActiveShader
> 
> I discovered this bug by inspection.

Quite a commit message for a copy and paste fix (and includes a typo
"meas_meta_begin :) ) The patch looks obviously correct.

Reviewed-by: Eric Anholt <[email protected]>

Attachment: pgp8Yx5yZ0B05.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to