| 175 | } |
| 176 | |
| 177 | void disablepolygonoffset(GLenum type, bool restore) |
| 178 | { |
| 179 | if(!depthoffset) |
| 180 | { |
| 181 | glDisable(type); |
| 182 | return; |
| 183 | } |
| 184 | |
| 185 | if(restore) |
| 186 | { |
| 187 | glMatrixMode(GL_PROJECTION); |
| 188 | glLoadMatrixf(reflecting ? clipmatrix.v : projmatrix.v); |
| 189 | glMatrixMode(GL_MODELVIEW); |
| 190 | } |
| 191 | } |
| 192 | |
| 193 | #define VARRAY_INTERNAL |
| 194 | #include "varray.h" |
no outgoing calls
no test coverage detected