Fix minor Coverity warnings (not initialized vars).

This commit is contained in:
jean-pierre charras 2021-12-03 17:49:23 +01:00
parent ac7c51e2f7
commit f24bdf4067
2 changed files with 10 additions and 2 deletions

View File

@ -85,7 +85,12 @@ void GPU_MANAGER::SetShader( SHADER& aShader )
GPU_CACHED_MANAGER::GPU_CACHED_MANAGER( VERTEX_CONTAINER* aContainer ) :
GPU_MANAGER( aContainer ),
m_buffersInitialized( false ),
m_indicesCapacity( 0 )
m_indicesCapacity( 0 ),
m_totalHuge( 0 ),
m_totalNormal( 0 ),
m_indexBufSize( 0 ),
m_indexBufMaxSize( 0 ),
m_curVrangeSize( 0 )
{
}

View File

@ -219,7 +219,10 @@ extern wxString dump( const wxArrayString& aArray );
class TRACE_MANAGER
{
public:
TRACE_MANAGER(){};
TRACE_MANAGER() :
m_globalTraceEnabled( false ),
m_printAllTraces (false )
{};
~TRACE_MANAGER(){};
static TRACE_MANAGER& Instance();