| 219 | } |
| 220 | |
| 221 | void reshape(int x, int y) |
| 222 | { |
| 223 | glViewport(0, 0, x, y); |
| 224 | |
| 225 | glMatrixMode(GL_MODELVIEW); |
| 226 | glLoadIdentity(); |
| 227 | |
| 228 | glMatrixMode(GL_PROJECTION); |
| 229 | glLoadIdentity(); |
| 230 | glOrtho(0.0, 1.0, 0.0, 1.0, 0.0, 1.0); |
| 231 | } |
| 232 | |
| 233 | void cleanup() |
| 234 | { |
nothing calls this directly
no outgoing calls
no test coverage detected