27 files changed, 179 insertions, 549 deletions
diff --git a/src/view/geometry.c b/src/view/geometry.c index 7a3ed36..f8bd8e6 100644 --- a/src/view/geometry.c +++ b/src/view/geometry.c | |||
@@ -10,12 +10,20 @@ geometry (GLenum mode) | |||
10 | { | 10 | { |
11 | glMatrixMode (GL_MODELVIEW); | 11 | glMatrixMode (GL_MODELVIEW); |
12 | glLoadIdentity (); | 12 | glLoadIdentity (); |
13 | glPushMatrix (); | ||
14 | |||
15 | /* | ||
16 | * Apply the results of any panning operations. | ||
17 | */ | ||
18 | glTranslatef (S.pan.trans[0], S.pan.trans[1], 0.0); | ||
13 | 19 | ||
14 | /* | 20 | /* |
15 | * Draw the map. | 21 | * Draw the map. |
16 | */ | 22 | */ |
17 | glCallList (S.list_offset + MAP_GEOMETRY); | 23 | glCallList (S.list_offset + MAP_GEOMETRY); |
18 | 24 | ||
25 | glPopMatrix (); | ||
26 | |||
19 | /* | 27 | /* |
20 | * Draw the legend. | 28 | * Draw the legend. |
21 | */ | 29 | */ |