From: Mikko Rasa Date: Fri, 29 Oct 2021 09:49:10 +0000 (+0300) Subject: Explicitly specify enum values which are relied upon X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=54e758597f72544719119e4660af742628645ff6;p=libs%2Fgl.git Explicitly specify enum values which are relied upon --- 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 }; /**