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

Function loopj

source/src/rendercubes.cpp:61–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59void renderstrips()
60{
61 loopj(renderedtexs)
62 {
63 stripbatch &sb = stripbatches[j];
64 glBindTexture(GL_TEXTURE_2D, lookupworldtexture(sb.tex)->id);
65 RENDERSTRIPS(sb.tris, GL_TRIANGLES);
66 RENDERSTRIPS(sb.tristrips, GL_TRIANGLE_STRIP);
67 RENDERSTRIPS(sb.quads, GL_QUADS);
68 }
69 renderedtexs = 0;
70
71 glDisableClientState(GL_VERTEX_ARRAY);

Callers

nothing calls this directly

Calls 1

lookupworldtextureFunction · 0.85

Tested by

no test coverage detected