mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-16 11:50:19 -05:00
Added number of views to caps.
This commit is contained in:
parent
b80edd19ff
commit
579f43fad7
3 changed files with 3 additions and 0 deletions
|
@ -287,6 +287,7 @@ typedef struct bgfx_caps
|
|||
uint64_t supported;
|
||||
|
||||
uint16_t maxTextureSize; /* < Maximum texture size. */
|
||||
uint16_t maxViews; /* < Maximum views. */
|
||||
uint16_t maxDrawCalls; /* < Maximum draw calls. */
|
||||
uint8_t maxFBAttachments; /* < Maximum frame buffer attachments. */
|
||||
|
||||
|
|
|
@ -310,6 +310,7 @@ namespace bgfx
|
|||
uint64_t supported;
|
||||
|
||||
uint16_t maxTextureSize; ///< Maximum texture size.
|
||||
uint16_t maxViews; ///< Maximum views.
|
||||
uint16_t maxDrawCalls; ///< Maximum draw calls.
|
||||
uint8_t maxFBAttachments; ///< Maximum frame buffer attachments.
|
||||
|
||||
|
|
|
@ -1980,6 +1980,7 @@ again:
|
|||
g_caps.supported = 0
|
||||
| (BGFX_CONFIG_MULTITHREADED ? BGFX_CAPS_RENDERER_MULTITHREADED : 0)
|
||||
;
|
||||
g_caps.maxViews = BGFX_CONFIG_MAX_VIEWS;
|
||||
g_caps.maxDrawCalls = BGFX_CONFIG_MAX_DRAW_CALLS;
|
||||
g_caps.maxFBAttachments = 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue