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, ...@@ -84,10 +84,10 @@ TextureNode::TextureNode( BaseNode* _parent,
last_mipmapping_status_(true), last_mipmapping_status_(true),
mipmapping_(true), mipmapping_(true),
activeTexture_(-1), 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)");
open_volume_mesh_texture_draw_modes_ |= DrawModes::getDrawMode("Faces (textured and shaded)"); // open_volume_mesh_texture_draw_modes_ |= DrawModes::getDrawMode("Faces (textured and shaded)");
} }
......
Supports Markdown
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