Fixed IDL generator mix of short/long Doxygen comments.

This commit is contained in:
Бранимир Караџић 2020-05-30 09:21:49 -07:00
parent 1c063fdc67
commit 2baa857065
3 changed files with 5 additions and 2 deletions

View File

@ -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)

View File

@ -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

View File

@ -9,5 +9,5 @@
*
*/
#define BGFX_REV_NUMBER 7217
#define BGFX_REV_SHA1 "805a03914e773d3c6eac7ff98cc2387de6836c6f"
#define BGFX_REV_NUMBER 7218
#define BGFX_REV_SHA1 "1c063fdc67d601fc90aea7b8e9493924880a33f5"