]> Pileus Git - grits/blobdiff - src/plugins/elev.c
libgis -> grits: Fix build after rename
[grits] / src / plugins / elev.c
index a6589ff0b6aff8af717ea2055611a46d10abeca3..f59238d1e66c0b62f617fde3c25fe20d21b4405f 100644 (file)
@@ -29,7 +29,7 @@
 #include <glib/gstdio.h>
 #include <GL/gl.h>
 
-#include <gis.h>
+#include <grits.h>
 
 #include "elev.h"
 
@@ -188,7 +188,7 @@ static gboolean _load_tile_cb(gpointer _load)
        /* Do necessasairy processing */
        /* TODO: Lock this and move to thread, can remove elev from _load then */
        if (LOAD_BIL)
-               gis_viewer_set_height_func(elev->viewer, tile, _height_func, elev, TRUE);
+               gis_viewer_set_height_func(elev->viewer, &tile->edge, _height_func, elev, TRUE);
 
        /* Cleanup unneeded things */
        if (!LOAD_BIL)