mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-22 01:17:39 +00:00
gldraw:: offset and texture_offset are now separate
This commit is contained in:
@@ -674,6 +674,7 @@ void draw_qfi(cell *c, const transmatrix& V, color_t col, PPR prio = PPR::DEFAUL
|
||||
else if(qfi.tinf) {
|
||||
auto& poly = queuetable(V * qfi.spin, qfi.tinf->vertices, isize(qfi.tinf->vertices), texture::config.mesh_color, texture::config.recolor(col), prio == PPR::DEFAULT ? PPR::FLOOR : prio);
|
||||
poly.tinf = qfi.tinf;
|
||||
poly.offset_texture = 0;
|
||||
poly.flags = POLY_INVERSE;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user