Added number of views to caps.

This commit is contained in:
Branimir Karadžić 2015-02-25 21:12:52 -08:00
parent b80edd19ff
commit 579f43fad7
3 changed files with 3 additions and 0 deletions

View file

@ -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. */

View file

@ -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.

View file

@ -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;