diff options
author | Stijn Buys <ingar@osirion.org> | 2013-09-28 12:13:29 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2013-09-28 12:13:29 +0000 |
commit | 18dc1f6d0e044e5e4b1f3a40fcc65e532ec2e765 (patch) | |
tree | 0d6fe9eba4663bdfaa2901b158c5eca554cf1368 /src/client | |
parent | b13e375c130066e2c9d0f34bc79b6b1ad0f0b449 (diff) |
Cleanup of the material API: split flags into flags and colortype.
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/savegamemenu.cc | 4 |
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()); } |