MCPcopy Create free account
hub / github.com/assaultcube/AC / endrender

Method endrender

source/src/vertmodel.h:1306–1315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1304 }
1305
1306 void endrender()
1307 {
1308 if(enablealphablend) glDisable(GL_BLEND);
1309 if(enablealphatest) glDisable(GL_ALPHA_TEST);
1310 if(!enabledepthmask) glDepthMask(GL_TRUE);
1311 if(lastvertexarray) glDisableClientState(GL_VERTEX_ARRAY);
1312 if(lasttexcoordarray) glDisableClientState(GL_TEXTURE_COORD_ARRAY);
1313 if(lastcolorarray) glDisableClientState(GL_COLOR_ARRAY);
1314 if(enableoffset) disablepolygonoffset(GL_POLYGON_OFFSET_FILL);
1315 }
1316
1317 static modelcache dynalloc, statalloc;
1318};

Callers 1

genshadowMethod · 0.45

Calls 1

disablepolygonoffsetFunction · 0.85

Tested by

no test coverage detected