Commit 7102d991 authored by Jan Möbius's avatar Jan Möbius
Browse files

Use initializer list



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@18216 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 33c9b87c
......@@ -84,10 +84,10 @@ TextureNode::TextureNode( BaseNode* _parent,
last_mipmapping_status_(true),
mipmapping_(true),
activeTexture_(-1),
open_volume_mesh_texture_draw_modes_()
open_volume_mesh_texture_draw_modes_(DrawModes::getDrawMode("Faces (textured)") | DrawModes::getDrawMode("Faces (textured and shaded)") )
{
open_volume_mesh_texture_draw_modes_ = DrawModes::getDrawMode("Faces (textured)");
open_volume_mesh_texture_draw_modes_ |= DrawModes::getDrawMode("Faces (textured and shaded)");
// open_volume_mesh_texture_draw_modes_ = DrawModes::getDrawMode("Faces (textured)");
// open_volume_mesh_texture_draw_modes_ |= DrawModes::getDrawMode("Faces (textured and shaded)");
}
......
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