Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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());
}