From: Charmaine Lee Date: Wed, 25 Oct 2017 05:10:20 +0000 (-0700) Subject: svga: fix a typo in svga_texture_copy_region() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4669ffd29bc704dd38c88bf8438a80714454ddbf;p=mesa.git svga: fix a typo in svga_texture_copy_region() Trivial. --- diff --git a/src/gallium/drivers/svga/svga_surface.c b/src/gallium/drivers/svga/svga_surface.c index cf2d12d02e2..9b9bc9ed6a3 100644 --- a/src/gallium/drivers/svga/svga_surface.c +++ b/src/gallium/drivers/svga/svga_surface.c @@ -77,7 +77,7 @@ svga_texture_copy_region(struct svga_context *svga, ret = SVGA3D_vgpu10_PredCopyRegion(svga->swc, dst_handle, dstSubResource, src_handle, srcSubResource, &box); - assert(ret = PIPE_OK); + assert(ret == PIPE_OK); } }