summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-23 17:16:06 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-23 17:16:06 -0400
commit2d894e93b93c7b1ffe3ca852af868392c50265b6 (patch)
treee9bd334290d9f8e8eb85525dc49e205933ca6c4a /src
parent7a3e71857cb8c296f06a107d10c7b13500412213 (diff)
downloadc++-2d894e93b93c7b1ffe3ca852af868392c50265b6.tar.gz
c++-2d894e93b93c7b1ffe3ca852af868392c50265b6.tar.bz2
c++-2d894e93b93c7b1ffe3ca852af868392c50265b6.zip
removed opengl calls from dgm
Diffstat (limited to 'src')
-rw-r--r--src/wolff_dgm.cpp2
1 files changed, 2 insertions, 0 deletions
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