Sets the near and far planes for z buffer
| 129 | |
| 130 | // Sets the near and far planes for z buffer |
| 131 | void rend_SetZValues(float nearz, float farz) { |
| 132 | gpu_state.cur_near_z = nearz; |
| 133 | gpu_state.cur_far_z = farz; |
| 134 | // mprintf(0,"OPENGL:Setting depth range to %f - %f\n",nearz,farz); |
| 135 | |
| 136 | // JEFF: glDepthRange must take parameters [0,1] |
| 137 | // It is set in init |
| 138 | //@@dglDepthRange (0,farz); |
| 139 | } |
| 140 | |
| 141 | // Sets a bitmap as a overlay map to rendered on top of the next texture map |
| 142 | // a -1 value indicates no overlay map |
no outgoing calls
no test coverage detected