From fe79aeb6b8d3938db8dc8382b807014be22fc692 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 10 Oct 2019 00:57:13 +0200 Subject: Fix enum confusion. --- src/stereo_picture_frame.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/stereo_picture_frame.cc b/src/stereo_picture_frame.cc index 8b8f9b91..72f59b36 100644 --- a/src/stereo_picture_frame.cc +++ b/src/stereo_picture_frame.cc @@ -79,9 +79,9 @@ shared_ptr StereoPictureFrame::xyz_image (Eye eye, int reduce) const { switch (eye) { - case LEFT: + case EYE_LEFT: return decompress_j2k (const_cast (_buffer->Left.RoData()), _buffer->Left.Size(), reduce); - case RIGHT: + case EYE_RIGHT: return decompress_j2k (const_cast (_buffer->Right.RoData()), _buffer->Right.Size(), reduce); } -- cgit v1.2.3