| 205 | } |
| 206 | |
| 207 | void reshape(int x, int y) |
| 208 | { |
| 209 | glViewport(0, 0, x, y); |
| 210 | |
| 211 | glMatrixMode(GL_MODELVIEW); |
| 212 | glLoadIdentity(); |
| 213 | |
| 214 | glMatrixMode(GL_PROJECTION); |
| 215 | glLoadIdentity(); |
| 216 | glOrtho(0.0, 1.0, 0.0, 1.0, 0.0, 1.0); |
| 217 | } |
| 218 | |
| 219 | // Global cleanup function |
| 220 | // Shared by both GL and non-GL code paths |
nothing calls this directly
no outgoing calls
no test coverage detected