mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
switch_to_text, needed for iOS
This commit is contained in:
parent
d5109fc3bb
commit
77bd96e6b5
@ -826,5 +826,12 @@ void set_depthwrite(bool b) {
|
||||
}
|
||||
}
|
||||
|
||||
void switch_to_text(const vector<glvertex>& v, const vector<glvertex>& t) {
|
||||
glhr::be_textured();
|
||||
dynamicval<eModel> pm(pmodel, mdUnchanged);
|
||||
if(!svg::in) current_display->set_all(0);
|
||||
vertices_texture(v, t, 0, 0);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user