Coupure prévue mardi 3 Août au matin pour maintenance du serveur. Nous faisons au mieux pour que celle-ci soit la plus brève possible.

Commit c0ee9030 authored by Sylvain Thery's avatar Sylvain Thery
Browse files

Modify shaders that use texture do not compile if not using Qt

parent 07db9767
......@@ -22,6 +22,8 @@
* *
*******************************************************************************/
#ifdef WITH_QT
#include <GL/glew.h>
#include "Utils/Shaders/shaderSimpleTexture.h"
......@@ -114,3 +116,6 @@ void ShaderSimpleTexture::restoreUniformsAttribs()
} // namespace Utils
} // namespace CGoGN
#else
#pragma message(__FILE__ " not compiled because of mising Qt")
#endif
......@@ -21,6 +21,7 @@
* Contact information: cgogn@unistra.fr *
* *
*******************************************************************************/
#ifdef WITH_QT
#include <GL/glew.h>
#include "Utils/Shaders/shaderTextureMask.h"
......@@ -127,3 +128,7 @@ void ShaderTextureMask::restoreUniformsAttribs()
} // namespace Utils
} // namespace CGoGN
#else
#pragma message(__FILE__ " not compiled because of mising Qt")
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment