From: Jean-Philippe Bruyère Date: Thu, 24 Feb 2022 14:22:49 +0000 (+0100) Subject: tabulation X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=f7deafc219026f1a3ec6cdc55f4298ebe4560dc9;p=jp%2Fvkvg.git tabulation --- diff --git a/src/vkvg_context.c b/src/vkvg_context.c index 8effbfd..bab639a 100644 --- a/src/vkvg_context.c +++ b/src/vkvg_context.c @@ -27,18 +27,18 @@ #include "vkh_queue.h" #ifdef DEBUG -static vec2 debugLinePoints[1000]; -static uint32_t dlpCount = 0; -#if defined (VKVG_DBG_UTILS) -const float DBG_LAB_COLOR_SAV[4] = {1,0,1,1}; -const float DBG_LAB_COLOR_CLIP[4] = {0,1,1,1}; -#endif + static vec2 debugLinePoints[1000]; + static uint32_t dlpCount = 0; + #if defined (VKVG_DBG_UTILS) + const float DBG_LAB_COLOR_SAV[4] = {1,0,1,1}; + const float DBG_LAB_COLOR_CLIP[4] = {0,1,1,1}; + #endif #endif //todo:this could be used to define a default background static VkClearValue clearValues[3] = { { .color.float32 = {0,0,0,0} }, - { .depthStencil = {1.0f, 0} }, + { .depthStencil = {1.0f, 0} }, { .color.float32 = {0,0,0,0} } };