mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
Force framebuffer update on first rendered item. Issue #628.
This commit is contained in:
parent
b57dadc1b1
commit
5527c6a228
5 changed files with 5 additions and 5 deletions
|
@ -4697,7 +4697,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
|||
uint16_t programIdx = invalidHandle;
|
||||
SortKey key;
|
||||
uint16_t view = UINT16_MAX;
|
||||
FrameBufferHandle fbh = BGFX_INVALID_HANDLE;
|
||||
FrameBufferHandle fbh = { BGFX_CONFIG_MAX_FRAME_BUFFERS };
|
||||
|
||||
BlitKey blitKey;
|
||||
blitKey.decode(_render->m_blitKeys[0]);
|
||||
|
|
|
@ -4540,7 +4540,7 @@ data.NumQualityLevels = 0;
|
|||
ID3D12PipelineState* currentPso = NULL;
|
||||
SortKey key;
|
||||
uint16_t view = UINT16_MAX;
|
||||
FrameBufferHandle fbh = BGFX_INVALID_HANDLE;
|
||||
FrameBufferHandle fbh = { BGFX_CONFIG_MAX_FRAME_BUFFERS };
|
||||
|
||||
BlitKey blitKey;
|
||||
blitKey.decode(_render->m_blitKeys[0]);
|
||||
|
|
|
@ -3495,7 +3495,7 @@ namespace bgfx { namespace d3d9
|
|||
uint16_t programIdx = invalidHandle;
|
||||
SortKey key;
|
||||
uint16_t view = UINT16_MAX;
|
||||
FrameBufferHandle fbh = BGFX_INVALID_HANDLE;
|
||||
FrameBufferHandle fbh = { BGFX_CONFIG_MAX_FRAME_BUFFERS };
|
||||
uint32_t blendFactor = 0;
|
||||
|
||||
BlitKey blitKey;
|
||||
|
|
|
@ -5325,7 +5325,7 @@ namespace bgfx { namespace gl
|
|||
uint16_t programIdx = invalidHandle;
|
||||
SortKey key;
|
||||
uint16_t view = UINT16_MAX;
|
||||
FrameBufferHandle fbh = BGFX_INVALID_HANDLE;
|
||||
FrameBufferHandle fbh = { BGFX_CONFIG_MAX_FRAME_BUFFERS };
|
||||
|
||||
BlitKey blitKey;
|
||||
blitKey.decode(_render->m_blitKeys[0]);
|
||||
|
|
|
@ -2236,7 +2236,7 @@ namespace bgfx { namespace mtl
|
|||
uint16_t programIdx = invalidHandle;
|
||||
SortKey key;
|
||||
uint16_t view = UINT16_MAX;
|
||||
FrameBufferHandle fbh = BGFX_INVALID_HANDLE;
|
||||
FrameBufferHandle fbh = { BGFX_CONFIG_MAX_FRAME_BUFFERS };
|
||||
|
||||
//ASK: why should we use this? It changes topology, so possible renders a big mess, doesn't it?
|
||||
//const uint64_t primType = _render->m_debug&BGFX_DEBUG_WIREFRAME ? BGFX_STATE_PT_LINES : 0;
|
||||
|
|
Loading…
Reference in a new issue