| 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 | }; |
no test coverage detected