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.
2 parents 5982072 + 66401ca commit f37d2e4Copy full SHA for f37d2e4
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