1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-18 16:32:32 +02:00

‘ObjectRenderer::m_errorTexture’ will be initialized after [-Wreorder]

This commit is contained in:
Filip Gawin 2017-08-01 00:34:20 +02:00 committed by Daniel Evans
parent 950a83d4ba
commit 9e20ad6c20

View File

@ -22,11 +22,11 @@ class ObjectRenderer {
public:
ObjectRenderer(GameWorld* world, const ViewCamera& camera,
float renderAlpha, GLuint errorTexture)
: m_world(world)
: culled(0)
, m_world(world)
, m_camera(camera)
, m_renderAlpha(renderAlpha)
, m_errorTexture(errorTexture)
, culled(0) {
, m_errorTexture(errorTexture) {
}
/**