mirror of https://github.com/bkaradzic/bgfx
Fixed typo.
This commit is contained in:
parent
5bfcf44d83
commit
1d7b32e464
|
@ -2582,7 +2582,7 @@ namespace bgfx
|
|||
g_caps.limits.maxDynamicIndexBuffers = BGFX_CONFIG_MAX_DYNAMIC_INDEX_BUFFERS;
|
||||
g_caps.limits.maxDynamicVertexBuffers = BGFX_CONFIG_MAX_DYNAMIC_VERTEX_BUFFERS;
|
||||
g_caps.limits.maxUniforms = BGFX_CONFIG_MAX_UNIFORMS;
|
||||
g_caps.limits.maxOcclusionQueries = BGFX_CONFIG_MAX_OCCUSION_QUERIES;
|
||||
g_caps.limits.maxOcclusionQueries = BGFX_CONFIG_MAX_OCCLUSION_QUERIES;
|
||||
g_caps.limits.maxFBAttachments = 1;
|
||||
|
||||
g_caps.vendorId = _vendorId;
|
||||
|
|
|
@ -1809,7 +1809,7 @@ namespace bgfx
|
|||
Matrix4 m_view[BGFX_CONFIG_MAX_VIEWS];
|
||||
Matrix4 m_proj[2][BGFX_CONFIG_MAX_VIEWS];
|
||||
uint8_t m_viewFlags[BGFX_CONFIG_MAX_VIEWS];
|
||||
uint8_t m_occlusion[BGFX_CONFIG_MAX_OCCUSION_QUERIES];
|
||||
uint8_t m_occlusion[BGFX_CONFIG_MAX_OCCLUSION_QUERIES];
|
||||
|
||||
uint64_t m_sortKeys[BGFX_CONFIG_MAX_DRAW_CALLS+1];
|
||||
RenderItemCount m_sortValues[BGFX_CONFIG_MAX_DRAW_CALLS+1];
|
||||
|
@ -3582,7 +3582,7 @@ namespace bgfx
|
|||
|
||||
BGFX_API_FUNC(OcclusionQueryResult::Enum getResult(OcclusionQueryHandle _handle) )
|
||||
{
|
||||
BGFX_CHECK_HANDLE("destroyOcclusionQuery", m_occlusionQueryHandle, _handle);
|
||||
BGFX_CHECK_HANDLE("getResult", m_occlusionQueryHandle, _handle);
|
||||
|
||||
switch (m_submit->m_occlusion[_handle.idx])
|
||||
{
|
||||
|
@ -4114,7 +4114,7 @@ namespace bgfx
|
|||
bx::HandleAllocT<BGFX_CONFIG_MAX_TEXTURES> m_textureHandle;
|
||||
bx::HandleAllocT<BGFX_CONFIG_MAX_FRAME_BUFFERS> m_frameBufferHandle;
|
||||
bx::HandleAllocT<BGFX_CONFIG_MAX_UNIFORMS> m_uniformHandle;
|
||||
bx::HandleAllocT<BGFX_CONFIG_MAX_OCCUSION_QUERIES> m_occlusionQueryHandle;
|
||||
bx::HandleAllocT<BGFX_CONFIG_MAX_OCCLUSION_QUERIES> m_occlusionQueryHandle;
|
||||
|
||||
struct ShaderRef
|
||||
{
|
||||
|
|
|
@ -297,9 +297,9 @@
|
|||
# define BGFX_CONFIG_MAX_UNIFORMS 512
|
||||
#endif // BGFX_CONFIG_MAX_UNIFORMS
|
||||
|
||||
#ifndef BGFX_CONFIG_MAX_OCCUSION_QUERIES
|
||||
# define BGFX_CONFIG_MAX_OCCUSION_QUERIES 256
|
||||
#endif // BGFX_CONFIG_MAX_OCCUSION_QUERIES
|
||||
#ifndef BGFX_CONFIG_MAX_OCCLUSION_QUERIES
|
||||
# define BGFX_CONFIG_MAX_OCCLUSION_QUERIES 256
|
||||
#endif // BGFX_CONFIG_MAX_OCCLUSION_QUERIES
|
||||
|
||||
#ifndef BGFX_CONFIG_MAX_COMMAND_BUFFER_SIZE
|
||||
# define BGFX_CONFIG_MAX_COMMAND_BUFFER_SIZE (64<<10)
|
||||
|
|
|
@ -345,7 +345,7 @@ namespace bgfx { namespace d3d11
|
|||
OcclusionQueryHandle m_handle;
|
||||
};
|
||||
|
||||
Query m_query[BGFX_CONFIG_MAX_OCCUSION_QUERIES];
|
||||
Query m_query[BGFX_CONFIG_MAX_OCCLUSION_QUERIES];
|
||||
bx::RingBufferControl m_control;
|
||||
};
|
||||
|
||||
|
|
|
@ -484,7 +484,7 @@ namespace bgfx { namespace d3d12
|
|||
|
||||
ID3D12Resource* m_readback;
|
||||
ID3D12QueryHeap* m_queryHeap;
|
||||
OcclusionQueryHandle m_handle[BGFX_CONFIG_MAX_OCCUSION_QUERIES];
|
||||
OcclusionQueryHandle m_handle[BGFX_CONFIG_MAX_OCCLUSION_QUERIES];
|
||||
uint64_t* m_result;
|
||||
bx::RingBufferControl m_control;
|
||||
};
|
||||
|
|
|
@ -475,7 +475,7 @@ namespace bgfx { namespace d3d9
|
|||
OcclusionQueryHandle m_handle;
|
||||
};
|
||||
|
||||
Query m_query[BGFX_CONFIG_MAX_OCCUSION_QUERIES];
|
||||
Query m_query[BGFX_CONFIG_MAX_OCCLUSION_QUERIES];
|
||||
bx::RingBufferControl m_control;
|
||||
};
|
||||
|
||||
|
|
|
@ -1491,7 +1491,7 @@ namespace bgfx { namespace gl
|
|||
OcclusionQueryHandle m_handle;
|
||||
};
|
||||
|
||||
Query m_query[BGFX_CONFIG_MAX_OCCUSION_QUERIES];
|
||||
Query m_query[BGFX_CONFIG_MAX_OCCLUSION_QUERIES];
|
||||
bx::RingBufferControl m_control;
|
||||
};
|
||||
|
||||
|
|
|
@ -903,7 +903,7 @@ namespace bgfx { namespace mtl
|
|||
};
|
||||
|
||||
Buffer m_buffer;
|
||||
Query m_query[BGFX_CONFIG_MAX_OCCUSION_QUERIES];
|
||||
Query m_query[BGFX_CONFIG_MAX_OCCLUSION_QUERIES];
|
||||
bx::RingBufferControl m_control;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue