On Sat, Jun 10, 2017 at 5:27 AM, Brian Paul <[email protected]> wrote:
> Some drivers require that the vertex buffers be unmapped prior to
> drawing.  This change unmaps the stream_uploader buffer after we've
> uploaded the zero-stride attributes (unless the driver supports
> rendering with mapped buffers).
>
> This fixes a regression in the VMware driver since 17f776c27be266f2.
> Some Mesa demos such as mandelbrot and brick would display black
> quads instead of the expected rendering.
>
> --
>
> Marek: can you please verify that this is the right place for this
> call (and not in st_draw_vbo())?

Yes, this is the right place.

Reviewed-by: Marek Olšák <[email protected]>

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

Reply via email to