[Mesa-dev] [PATCH 34/41] main: Fixed _mesa_texture_image_multisample so that it updates the texObj->Immutable flag correctly.

Anuj Phogat anuj.phogat at gmail.com
Wed Dec 31 12:03:52 PST 2014


Use shorter commit messages in present tense:
"main: Fix texObj->Immutable flag update in _mesa_texture_image_multisample"

On Mon, Dec 15, 2014 at 5:22 PM, Laura Ekstrand <laura at jlekstrand.net> wrote:
> ---
>  src/mesa/main/teximage.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
> index fa1596d..36b1577 100644
> --- a/src/mesa/main/teximage.c
> +++ b/src/mesa/main/teximage.c
> @@ -5225,7 +5225,7 @@ _mesa_texture_image_multisample(struct gl_context *ctx, GLuint dims,
>           }
>        }
>
> -      texObj->Immutable = immutable;
> +      texObj->Immutable |= immutable;
>
>        if (immutable) {
>           _mesa_set_texture_view_state(ctx, texObj, target, 1);
> --
> 2.1.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list