svga: fix a typo in svga_texture_copy_region()
authorCharmaine Lee <charmainel@vmware.com>
Wed, 25 Oct 2017 05:10:20 +0000 (22:10 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000 (13:07 -0600)
Trivial.

src/gallium/drivers/svga/svga_surface.c

index cf2d12d02e2a57adef73dff6faba869bac658dd7..9b9bc9ed6a33aa0ac808608291919f0cfbaf6848 100644 (file)
@@ -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);
    }
 }