From 2d894e93b93c7b1ffe3ca852af868392c50265b6 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Mon, 23 Jul 2018 17:16:06 -0400 Subject: removed opengl calls from dgm --- src/wolff_dgm.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/wolff_dgm.cpp b/src/wolff_dgm.cpp index 718db8d..6271b79 100644 --- a/src/wolff_dgm.cpp +++ b/src/wolff_dgm.cpp @@ -116,6 +116,7 @@ int main(int argc, char *argv[]) { } else { // a more complex example: measure the average magnetization, and draw the spin configuration to the screen +#ifdef HAVE_GLUT // initialize glut glutInit(&argc, argv); glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB); @@ -149,6 +150,7 @@ int main(int argc, char *argv[]) { } glFlush(); }; +#endif } // run wolff for N cluster flips -- cgit v1.2.3-70-g09d2