summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharmaine Lee <[email protected]>2017-10-24 22:10:20 -0700
committerBrian Paul <[email protected]>2018-09-10 13:07:30 -0600
commit4669ffd29bc704dd38c88bf8438a80714454ddbf (patch)
treeded5a394c2f976f6fcb14c0a11830086a4c4a067
parent3233d0539021e3aa3bbf5bba66bc6d01aa6a599c (diff)
svga: fix a typo in svga_texture_copy_region()
Trivial.
-rw-r--r--src/gallium/drivers/svga/svga_surface.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}