src/gl/partrenderer.cpp

changeset 100
43ce3672648a
parent 92
c438a7db7c52
child 107
02f142b399b1
--- a/src/gl/partrenderer.cpp	Tue Jan 26 12:21:35 2021 +0200
+++ b/src/gl/partrenderer.cpp	Tue Jan 26 18:02:17 2021 +0200
@@ -18,6 +18,7 @@
 
 #include <glm/ext/matrix_transform.hpp>
 #include <glm/ext/matrix_clip_space.hpp>
+#include <GL/glu.h>
 #include <QMouseEvent>
 #include <QMessageBox>
 #include <QAbstractButton>
@@ -239,7 +240,7 @@
 	QStringList errors;
 	while ((glError = glGetError()) != GL_NO_ERROR)
 	{
-		const QString glErrorString = QString::fromLatin1(reinterpret_cast<const char*>(::gluErrorString(glError)));
+		const QString glErrorString = QString::fromLatin1(reinterpret_cast<const char*>(gluErrorString(glError)));
 		errors.append(glErrorString);
 	}
 	if (not errors.isEmpty())

mercurial