We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4fd2b7 commit 66401caCopy full SHA for 66401ca
src/IECoreGL/Shader.cpp
@@ -181,7 +181,7 @@ class Shader::Implementation : public IECore::RefCounted
181
}
182
183
184
- if( p.type == GL_SAMPLER_2D || p.type == GL_SAMPLER_3D )
+ if( p.type == GL_SAMPLER_1D || p.type == GL_SAMPLER_2D || p.type == GL_SAMPLER_3D )
185
{
186
// we assign a specific texture unit to each individual
187
// sampler parameter - this makes it much easier to save
0 commit comments