Timothy Arceri <tarc...@itsqueeze.com> writes:

> This is a step towards KHR_no_error support.
> ---
>  src/mesa/main/fbobject.c | 26 ++++++++++++++++++--------
>  1 file changed, 18 insertions(+), 8 deletions(-)
>
> diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
> index fb8fbe9..85744e3 100644
> --- a/src/mesa/main/fbobject.c
> +++ b/src/mesa/main/fbobject.c
> @@ -2903,33 +2903,43 @@ reuse_framebuffer_texture_attachment(struct 
> gl_framebuffer *fb,
>     _mesa_reference_renderbuffer(&dst_att->Renderbuffer, 
> src_att->Renderbuffer);
>     dst_att->Type = src_att->Type;
>     dst_att->Complete = src_att->Complete;
>     dst_att->TextureLevel = src_att->TextureLevel;
>     dst_att->CubeMapFace = src_att->CubeMapFace;
>     dst_att->Zoffset = src_att->Zoffset;
>     dst_att->Layered = src_att->Layered;
>  }
>  
>  
> +static struct gl_texture_object *
> +get_texture_for_framebuffer(struct gl_context *ctx, GLuint texture)
> +{
> +   if (!texture)
> +      return NULL;
> +
> +   return _mesa_lookup_texture(ctx, texture);;
> +}

Stray ';'

Attachment: signature.asc
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to