Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

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

bug GL

parent aae2b76b
......@@ -70,7 +70,7 @@ ShaderSimpleTexture::ShaderSimpleTexture()
loadShadersFromMemory(glxvert.c_str(), glxfrag.c_str());
m_unif_unit = glGetUniformLocation(this->program_handler(), "textureUnit");
*m_unif_unit = glGetUniformLocation(this->program_handler(), "textureUnit");
}
void ShaderSimpleTexture::setTextureUnit(GLenum texture_unit)
......
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