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) { glMatrixMode (GL_MODELVIEW); glLoadIdentity (); + glPushMatrix (); + + /* + * Apply the results of any panning operations. + */ + glTranslatef (S.pan.trans[0], S.pan.trans[1], 0.0); /* * Draw the map. */ glCallList (S.list_offset + MAP_GEOMETRY); + glPopMatrix (); + /* * Draw the legend. */ |