From 54e758597f72544719119e4660af742628645ff6 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 29 Oct 2021 12:49:10 +0300 Subject: [PATCH] Explicitly specify enum values which are relied upon --- source/render/zsortedscene.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/render/zsortedscene.h b/source/render/zsortedscene.h index 68065472..f268f529 100644 --- a/source/render/zsortedscene.h +++ b/source/render/zsortedscene.h @@ -10,15 +10,15 @@ namespace GL { enum SortOrder { - FRONT_TO_BACK, - BACK_TO_FRONT + FRONT_TO_BACK = 0, + BACK_TO_FRONT = 1 }; enum DepthReference { - CLOSEST, - CENTER, - FURTHEST + CLOSEST = 0, + CENTER = 1, + FURTHEST = 2 }; /** -- 2.45.2