From b71cea176b190601a6a7dd51eacc3ed05e512e80 Mon Sep 17 00:00:00 2001 From: Christophe Dehais Date: Fri, 18 Oct 2019 16:09:08 +0200 Subject: [PATCH] Fix typo in BGFX_CONFIG_MAX_COLOR_PALETTE config override (#1914) --- src/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.h b/src/config.h index dbf746e63..6a746b8b4 100644 --- a/src/config.h +++ b/src/config.h @@ -311,9 +311,9 @@ BX_STATIC_ASSERT(bx::isPowerOf2(BGFX_CONFIG_MAX_VIEWS), "BGFX_CONFIG_MAX_VIEWS m # define BGFX_CONFIG_MAX_INSTANCE_DATA_COUNT 5 #endif // BGFX_CONFIG_MAX_INSTANCE_DATA_COUNT -#ifndef BGFX_CONFIG_MAX_CLEAR_COLOR_PALETTE +#ifndef BGFX_CONFIG_MAX_COLOR_PALETTE # define BGFX_CONFIG_MAX_COLOR_PALETTE 16 -#endif // BGFX_CONFIG_MAX_CLEAR_COLOR_PALETTE +#endif // BGFX_CONFIG_MAX_COLOR_PALETTE #define BGFX_CONFIG_DRAW_INDIRECT_STRIDE 32