Fixed issue #1331.

This commit is contained in:
Branimir Karadžić 2018-02-13 16:08:49 -08:00
parent 584b8b34f0
commit c6b4ce512a

View File

@ -1758,7 +1758,7 @@ int _main_(int _argc, char** _argv)
, checkerBoard
);
bgfx::setState(0
| BGFX_STATE_RGB_WRITE
| BGFX_STATE_WRITE_RGB
| BGFX_STATE_WRITE_A
);
bgfx::submit(BACKGROUND_VIEW_ID
@ -1856,7 +1856,7 @@ int _main_(int _argc, char** _argv)
, textureFlags
);
bgfx::setState(0
| BGFX_STATE_RGB_WRITE
| BGFX_STATE_WRITE_RGB
| BGFX_STATE_WRITE_A
| (view.m_alpha ? BGFX_STATE_BLEND_ALPHA : BGFX_STATE_NONE)
);