Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-09-28 12:13:29 +0000
committerStijn Buys <ingar@osirion.org>2013-09-28 12:13:29 +0000
commit18dc1f6d0e044e5e4b1f3a40fcc65e532ec2e765 (patch)
tree0d6fe9eba4663bdfaa2901b158c5eca554cf1368 /src/ui
parentb13e375c130066e2c9d0f34bc79b6b1ad0f0b449 (diff)
Cleanup of the material API: split flags into flags and colortype.
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/paint.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/paint.cc b/src/ui/paint.cc
index d400baa..7b8e43f 100644
--- a/src/ui/paint.cc
+++ b/src/ui/paint.cc
@@ -68,7 +68,7 @@ void Paint::draw_bitmap(const math::Vector2f &global_location, const math::Vecto
model::Material::add(material);
material->set_texture(material->name());
// ui btimaps are fullbright
- material->set_flags(model::Material::Bright);
+ material->set_flags(model::Material::FlagBright);
}
render::State::set_color(math::Color());
@@ -104,7 +104,7 @@ void Paint::draw_bitmap(const math::Vector2f &global_location, const math::Vecto
model::Material::add(material);
material->set_texture(material->name());
// ui btimaps are fullbright
- material->set_flags(model::Material::Bright);
+ material->set_flags(model::Material::FlagBright);
}
render::State::set_power(true);
@@ -141,7 +141,7 @@ void Paint::draw_material(const math::Vector2f &global_location, const math::Vec
model::Material::add(material);
material->set_texture(material->name());
// ui btimaps are fullbright
- material->set_flags(model::Material::Bright);
+ material->set_flags(model::Material::FlagBright);
}
// use global coordinates