Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
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/client
parentb13e375c130066e2c9d0f34bc79b6b1ad0f0b449 (diff)
Cleanup of the material API: split flags into flags and colortype.
Diffstat (limited to 'src/client')
-rw-r--r--src/client/savegamemenu.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/savegamemenu.cc b/src/client/savegamemenu.cc
index cb2cdeb..8efd746 100644
--- a/src/client/savegamemenu.cc
+++ b/src/client/savegamemenu.cc
@@ -324,8 +324,8 @@ void SaveGameMenu::show_file_info()
if (!screenshotmaterial) {
screenshotmaterial = new model::Material("ui/screenshot");
model::Material::add(screenshotmaterial);
- screenshotmaterial ->set_flags(model::Material::Texture);
- screenshotmaterial ->set_flags(model::Material::Bright);
+ screenshotmaterial ->set_flags(model::Material::FlagTexture);
+ screenshotmaterial ->set_flags(model::Material::FlagBright);
} else if (screenshotmaterial->texture().size()) {
render::Textures::unload(screenshotmaterial->texture());
}