]> Pileus Git - grits/blobdiff - src/gis-opengl.h
Lock the sphere when working with volatile triangles
[grits] / src / gis-opengl.h
index ce65cbc6edc30b107cc88ed9c5e86fa4186d2f4d..a77b5a43d6f289cdae4fed3de6bf9725fa504ca0 100644 (file)
@@ -40,6 +40,7 @@ struct _GisOpenGL {
        /* instance members */
        GTree      *objects;
        RoamSphere *sphere;
+       GMutex     *sphere_lock;
        guint       sm_source[2];
 
        /* for testing */