mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-04-06 12:24:23 -04:00
D3D11: Fixed crash.
This commit is contained in:
parent
b562866952
commit
6b9dc5c89c
1 changed files with 2 additions and 1 deletions
|
@ -4727,7 +4727,8 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
|||
{
|
||||
// reset the framebuffer to be the backbuffer; depending on the swap effect,
|
||||
// if we don't do this we'll only see one frame of output and then nothing
|
||||
setFrameBuffer(fbh);
|
||||
FrameBufferHandle invalid = BGFX_INVALID_HANDLE;
|
||||
setFrameBuffer(invalid);
|
||||
|
||||
bool viewRestart = false;
|
||||
uint8_t eye = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue