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)
Supports Markdown
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