mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
16-shadowmaps fixed when used with combined examples (#1182)
This commit is contained in:
committed by
Branimir Karadžić
parent
43fb2f6f4b
commit
e09c96de84
@@ -1296,7 +1296,9 @@ public:
|
||||
m_debug = BGFX_DEBUG_NONE;
|
||||
m_reset = BGFX_RESET_VSYNC;
|
||||
|
||||
m_viewState = ViewState(1280, 720);
|
||||
m_width = 1280;
|
||||
m_height = 720;
|
||||
m_viewState = ViewState(uint16_t(m_width), uint16_t(m_height));
|
||||
m_clearValues = ClearValues(0x00000000, 1.0f, 0);
|
||||
|
||||
bgfx::init(args.m_type, args.m_pciId);
|
||||
|
||||
Reference in New Issue
Block a user