Fixed compilation issue with MinGW
This commit is contained in:
@@ -120,11 +120,6 @@ m_poly_count(0)
|
||||
}
|
||||
}
|
||||
|
||||
template<int N>
|
||||
CommandBuffer<N>::~CommandBuffer()
|
||||
{
|
||||
glDeleteBuffers(1, &m_draw_indirect_cmd_id);
|
||||
}
|
||||
|
||||
SolidCommandBuffer::SolidCommandBuffer(): CommandBuffer()
|
||||
{
|
||||
|
||||
@@ -240,7 +240,7 @@ protected:
|
||||
|
||||
public:
|
||||
CommandBuffer();
|
||||
virtual ~CommandBuffer();
|
||||
virtual ~CommandBuffer() { glDeleteBuffers(1, &m_draw_indirect_cmd_id); }
|
||||
|
||||
inline size_t getPolyCount() const {return m_poly_count;}
|
||||
|
||||
|
||||
@@ -371,7 +371,7 @@ void ShaderBasedRenderer::renderScene(scene::ICameraSceneNode * const camnode,
|
||||
m_rtts->getShadowFrameBuffer(),
|
||||
m_rtts->getFBO(FBO_COMBINED_DIFFUSE_SPECULAR),
|
||||
specular_probe);
|
||||
}
|
||||
}
|
||||
PROFILER_POP_CPU_MARKER();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user