From 2baa857065ea571b5fdfb2214ef736c8a0556da5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Sat, 30 May 2020 09:21:49 -0700 Subject: [PATCH] Fixed IDL generator mix of short/long Doxygen comments. --- include/bgfx/defines.h | 2 ++ scripts/codegen.lua | 1 + src/version.h | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/include/bgfx/defines.h b/include/bgfx/defines.h index 6f3c1d20f..4c9b8d5f0 100644 --- a/include/bgfx/defines.h +++ b/include/bgfx/defines.h @@ -269,6 +269,7 @@ #define BGFX_DEBUG_NONE UINT32_C(0x00000000) //!< No debug. #define BGFX_DEBUG_WIREFRAME UINT32_C(0x00000001) //!< Enable wireframe for all primitives. + /// Enable infinitely fast hardware test. No draw calls will be submitted to driver. /// It's useful when profiling to quickly assess bottleneck between CPU and GPU. #define BGFX_DEBUG_IFH UINT32_C(0x00000002) @@ -443,6 +444,7 @@ #define BGFX_RESET_MAXANISOTROPY UINT32_C(0x00000100) //!< Turn on/off max anisotropy. #define BGFX_RESET_CAPTURE UINT32_C(0x00000200) //!< Begin screen capture. #define BGFX_RESET_FLUSH_AFTER_RENDER UINT32_C(0x00002000) //!< Flush rendering after submitting to GPU. + /// This flag specifies where flip occurs. Default behaviour is that flip occurs /// before rendering new frame. This flag only has effect when `BGFX_CONFIG_MULTITHREADED=0`. #define BGFX_RESET_FLIP_AFTER_RENDER UINT32_C(0x00004000) diff --git a/scripts/codegen.lua b/scripts/codegen.lua index 3b6a3a937..a9265069c 100644 --- a/scripts/codegen.lua +++ b/scripts/codegen.lua @@ -774,6 +774,7 @@ function codegen.gen_flag_cdefine(flag) local comment = "" if item.comment then if #item.comment > 1 then + s[#s+1] = "" for _, c in ipairs(item.comment) do s[#s+1] = "/// " .. c end diff --git a/src/version.h b/src/version.h index 67390885c..f70d5853e 100644 --- a/src/version.h +++ b/src/version.h @@ -9,5 +9,5 @@ * */ -#define BGFX_REV_NUMBER 7217 -#define BGFX_REV_SHA1 "805a03914e773d3c6eac7ff98cc2387de6836c6f" +#define BGFX_REV_NUMBER 7218 +#define BGFX_REV_SHA1 "1c063fdc67d601fc90aea7b8e9493924880a33f5"