| 2188 | } |
| 2189 | |
| 2190 | void OneWindow::SetScreenView() const |
| 2191 | { |
| 2192 | |
| 2193 | glDisable(GL_TEXTURE_2D); |
| 2194 | glDisable(GL_DEPTH_TEST); |
| 2195 | glMatrixMode(GL_PROJECTION); |
| 2196 | glLoadIdentity(); |
| 2197 | glOrtho(0,width,0,height,-1,1); |
| 2198 | glMatrixMode(GL_MODELVIEW); |
| 2199 | glLoadIdentity(); |
| 2200 | } |
| 2201 | |
| 2202 | void OneWindow::SetView() |
| 2203 | { |