Bruce Mitchener 10 лет назад
Родитель
Сommit
dc8f6aed87
2 измененных файлов с 4 добавлено и 4 удалено
  1. 3 3
      include/bgfx.h
  2. 1 1
      include/bgfxdefines.h

+ 3 - 3
include/bgfx.h

@@ -1263,7 +1263,7 @@ namespace bgfx
 	///   - `BGFX_TEXTURE_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
 	///     sampling.
 	///
-	/// @param[in] _mem Texture data. If `_mem` is non-NULL, created texutre will be immutable.
+	/// @param[in] _mem Texture data. If `_mem` is non-NULL, created texture will be immutable.
 	///
 	/// @attention C99 equivalent is `bgfx_create_texture_2d`.
 	///
@@ -1301,7 +1301,7 @@ namespace bgfx
 	///   - `BGFX_TEXTURE_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
 	///     sampling.
 	///
-	/// @param[in] _mem Texture data. If `_mem` is non-NULL, created texutre will be immutable.
+	/// @param[in] _mem Texture data. If `_mem` is non-NULL, created texture will be immutable.
 	///
 	/// @attention C99 equivalent is `bgfx_create_texture_3d`.
 	///
@@ -1319,7 +1319,7 @@ namespace bgfx
 	///   - `BGFX_TEXTURE_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
 	///     sampling.
 	///
-	/// @param[in] _mem Texture data. If `_mem` is non-NULL, created texutre will be immutable.
+	/// @param[in] _mem Texture data. If `_mem` is non-NULL, created texture will be immutable.
 	///
 	/// @attention C99 equivalent is `bgfx_create_texture_cube`.
 	///

+ 1 - 1
include/bgfxdefines.h

@@ -76,7 +76,7 @@
 #define BGFX_STATE_MASK                  UINT64_C(0xffffffffffffffff) //!<
 
 /// Default state is write to RGB, alpha, and depth with depth test less enabled, with clockwise
-/// culling and MSAA (when writting into MSAA frame buffer, otherwise this flag is ignored).
+/// culling and MSAA (when writing into MSAA frame buffer, otherwise this flag is ignored).
 #define BGFX_STATE_DEFAULT (0 \
 					| BGFX_STATE_RGB_WRITE \
 					| BGFX_STATE_ALPHA_WRITE \