From 4669ffd29bc704dd38c88bf8438a80714454ddbf Mon Sep 17 00:00:00 2001 From: Charmaine Lee Date: Tue, 24 Oct 2017 22:10:20 -0700 Subject: [PATCH] svga: fix a typo in svga_texture_copy_region() Trivial. --- src/gallium/drivers/svga/svga_surface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.30.2