mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
fix gcc warnings (#2253)
This commit is contained in:
@@ -665,6 +665,7 @@ namespace bgfx { namespace d3d11
|
||||
, m_ags(NULL)
|
||||
, m_featureLevel(D3D_FEATURE_LEVEL(0) )
|
||||
, m_swapChain(NULL)
|
||||
, m_needPresent(false)
|
||||
, m_lost(false)
|
||||
, m_numWindows(0)
|
||||
, m_device(NULL)
|
||||
@@ -686,7 +687,6 @@ namespace bgfx { namespace d3d11
|
||||
, m_rtMsaa(false)
|
||||
, m_timerQuerySupport(false)
|
||||
, m_directAccessSupport(false)
|
||||
, m_needPresent(false)
|
||||
{
|
||||
m_fbh.idx = kInvalidHandle;
|
||||
bx::memSet(&m_scd, 0, sizeof(m_scd) );
|
||||
|
||||
@@ -676,8 +676,6 @@ namespace bgfx { namespace hlsl
|
||||
if (_firstPass
|
||||
&& unusedUniforms.size() > 0)
|
||||
{
|
||||
const size_t strLength = bx::strLen("uniform");
|
||||
|
||||
// first time through, we just find unused uniforms and get rid of them
|
||||
std::string output;
|
||||
bx::LineReader reader(_code.c_str() );
|
||||
|
||||
Reference in New Issue
Block a user