summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-08-28 14:10:07 -0400
committerLioncash <mathew1800@gmail.com>2015-08-28 14:10:07 -0400
commitbb27f80a65b96575308c40b401bec194594b5b1c (patch)
tree248b9e6614cbf37aba11c81271c578da2dcc8be3 /Source/Core/VideoBackends
parentd373dd372d74d9c35fdb5abf26aaf0fdf609cda0 (diff)
Vec3: Remove a memset call on the this pointer
Diffstat (limited to 'Source/Core/VideoBackends')
-rw-r--r--Source/Core/VideoBackends/Software/Vec3.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Software/Vec3.h b/Source/Core/VideoBackends/Software/Vec3.h
index a5857ffbd6..1337ed77c4 100644
--- a/Source/Core/VideoBackends/Software/Vec3.h
+++ b/Source/Core/VideoBackends/Software/Vec3.h
@@ -158,7 +158,9 @@ public:
void SetZero()
{
- memset((void*)this, 0, sizeof(float) * 3);
+ x = 0.0f;
+ y = 0.0f;
+ z = 0.0f;
}
void DoState(PointerWrap &p)