1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-21 05:22:07 +00:00

rogueviz:: presentation:: sub_picture ignores missing files

This commit is contained in:
Zeno Rogue
2026-04-20 14:57:19 +02:00
parent b0895fe082
commit 0701b6db3f
+1
View File
@@ -177,6 +177,7 @@ texture::texture_data& get_texture(string s, flagtype flags = 0) {
void sub_picture(string s, flagtype flags, ld dx, ld dy, ld scale) {
auto& tex = get_texture(s);
if(tex.textureid == 0) return;
flat_model_enabler fme;
draw_texture(tex, dx, dy, scale);
}