summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/include/bgfx.h
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/include/bgfx.h')
-rw-r--r--3rdparty/bgfx/include/bgfx.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/3rdparty/bgfx/include/bgfx.h b/3rdparty/bgfx/include/bgfx.h
index 31bf19a6fbc..3ac048888a6 100644
--- a/3rdparty/bgfx/include/bgfx.h
+++ b/3rdparty/bgfx/include/bgfx.h
@@ -46,7 +46,8 @@ namespace bgfx
Null, //!< No rendering.
Direct3D9, //!< Direct3D 9.0
Direct3D11, //!< Direct3D 11.0
- OpenGLES = 4, //!< OpenGL ES 2.0+
+ Direct3D12, //!< Direct3D 12.0
+ OpenGLES, //!< OpenGL ES 2.0+
OpenGL, //!< OpenGL 2.1+
Count
@@ -686,7 +687,7 @@ namespace bgfx
/// When buffer is created with `BGFX_BUFFER_COMPUTE_WRITE` flag it cannot be updated
/// from CPU.
///
- DynamicVertexBufferHandle createDynamicVertexBuffer(uint16_t _num, const VertexDecl& _decl, uint8_t _flags = BGFX_BUFFER_NONE);
+ DynamicVertexBufferHandle createDynamicVertexBuffer(uint32_t _num, const VertexDecl& _decl, uint8_t _flags = BGFX_BUFFER_NONE);
/// Create dynamic vertex buffer and initialize it.
///
@@ -765,7 +766,7 @@ namespace bgfx
/// @remarks
/// Only 16-bit index buffer is supported.
///
- bool allocTransientBuffers(TransientVertexBuffer* _tvb, const VertexDecl& _decl, uint16_t _numVertices, TransientIndexBuffer* _tib, uint16_t _numIndices);
+ bool allocTransientBuffers(TransientVertexBuffer* _tvb, const VertexDecl& _decl, uint32_t _numVertices, TransientIndexBuffer* _tib, uint32_t _numIndices);
/// Allocate instance data buffer.
///