1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-23 13:43:19 +00:00

fixed incorrect rendering in models with MINIMIZE_GL_CALLS

This commit is contained in:
Zeno Rogue 2018-09-05 15:21:24 +02:00
parent f3bc477c27
commit 3e1cb1ba6d

View File

@ -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;