From a98078595890579a05faeac0a769bd68a7fc200e Mon Sep 17 00:00:00 2001 From: Imanol Fernandez Date: Tue, 18 Feb 2020 21:37:21 +0000 Subject: [PATCH] Bug 1616386 - Fix Quaternion copy constructor r=lsalzman Fix Quaternion copy constructor Differential Revision: https://phabricator.services.mozilla.com/D63255 --HG-- extra : moz-landing-system : lando --- gfx/2d/Quaternion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/2d/Quaternion.h b/gfx/2d/Quaternion.h index b8c7c854d5e3..8fc060cc3566 100644 --- a/gfx/2d/Quaternion.h +++ b/gfx/2d/Quaternion.h @@ -28,7 +28,7 @@ class BaseQuaternion { BaseQuaternion(const BaseQuaternion& aOther) { x = aOther.x; y = aOther.y; - z = aOther.y; + z = aOther.z; w = aOther.w; }