mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
rv::platformer::added missing create_sprite_texture
This commit is contained in:
parent
4df17161d7
commit
d8d5e2512d
@ -632,6 +632,7 @@ void render_room(room *r) {
|
||||
template<class R> void render_room_objects(room *r, R render_at) {
|
||||
auto pb = get_pixel_bbox();
|
||||
if(r != current_room) return;
|
||||
create_sprite_texture();
|
||||
render_at(sprite_texture->textureid, pb.minx, pb.miny, pb.maxx, pb.maxy, 0, 0, man_x/256., man_y/256.);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user