Browse Source

Fixed IDL generator mix of short/long Doxygen comments.

Бранимир Караџић 5 years ago
parent
commit
2baa857065
3 changed files with 5 additions and 2 deletions
  1. 2 0
      include/bgfx/defines.h
  2. 1 0
      scripts/codegen.lua
  3. 2 2
      src/version.h

+ 2 - 0
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)

+ 1 - 0
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

+ 2 - 2
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"