mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
fixed incorrect rendering in models with MINIMIZE_GL_CALLS
This commit is contained in:
parent
f3bc477c27
commit
3e1cb1ba6d
@ -949,6 +949,7 @@ void dqi_poly::draw() {
|
||||
|
||||
#if CAP_GL
|
||||
if(vid.usingGL) {
|
||||
poly_flags &= ~(POLY_VCONVEX | POLY_CCONVEX);
|
||||
// if(pmodel == 0) for(int i=0; i<qglcoords; i++) glcoords[i][2] = stereo::scrdist;
|
||||
if(tinf && (poly_flags & POLY_INVERSE)) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user