Commit 3d6faa8d authored by Christopher Tenter's avatar Christopher Tenter

memset generates compiler warning for renderobjects

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15933 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 59973034
......@@ -442,7 +442,6 @@ void CoordsysNode::getRenderObjects( IRenderer* _renderer, GLState& _state, cons
// init base renderobject
RenderObject ro;
memset(&ro, 0, sizeof(RenderObject));
ro.initFromState(&_state);
ro.setMaterial(_mat);
......
......@@ -394,7 +394,6 @@ getRenderObjects(IRenderer* _renderer, GLState& _state , const DrawModes::DrawM
// init base render object
RenderObject ro;
memset(&ro, 0, sizeof(RenderObject));
ro.initFromState(&_state);
// the selection sphere uses alpha blending against scene meshes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment