From c1612c496f783eeeb92cb9c07e1cb6e157f0cb4f Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Tue, 5 Jan 2021 16:19:27 -0800 Subject: [PATCH] clear options have bits now --- include/Refresh.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/include/Refresh.h b/include/Refresh.h index ef90b3e..8d77275 100644 --- a/include/Refresh.h +++ b/include/Refresh.h @@ -98,12 +98,14 @@ typedef enum Refresh_StoreOp REFRESH_STOREOP_DONT_CARE } Refresh_StoreOp; -typedef enum Refresh_ClearOptions +typedef enum Refresh_ClearOptionsBits { - REFRESH_CLEAROPTIONS_COLOR = 1, - REFRESH_CLEAROPTIONS_DEPTH = 2, - REFRESH_CLEAROPTIONS_STENCIL = 4, -} Refresh_ClearOptions; + REFRESH_CLEAROPTIONS_COLOR = 0x00000001, + REFRESH_CLEAROPTIONS_DEPTH = 0x00000002, + REFRESH_CLEAROPTIONS_STENCIL = 0x00000004, +} Refresh_ClearOptionsBits; + +typedef uint32_t Refresh_ClearOptions; typedef enum Refresh_IndexElementSize {