Fixed compilation issue with MinGW

This commit is contained in:
Elderme
2016-02-11 14:34:16 +01:00
parent b2a9c412ed
commit 05f9b01be3
3 changed files with 2 additions and 7 deletions

View File

@@ -120,11 +120,6 @@ m_poly_count(0)
}
}
template<int N>
CommandBuffer<N>::~CommandBuffer()
{
glDeleteBuffers(1, &m_draw_indirect_cmd_id);
}
SolidCommandBuffer::SolidCommandBuffer(): CommandBuffer()
{

View File

@@ -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;}

View File

@@ -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();
}